Actually get the posts in the right format

This commit is contained in:
Luca Beltrame 2018-08-24 18:26:10 +02:00
parent 8518960029
commit dbb59369a3
Signed by: einar
GPG key ID: 8DF631FD021DB0C5

View file

@ -282,7 +282,7 @@ QVariantMap extractPoolData(const QVariant &data, ApiType type) {
rawData = mapped.value("posts").toList(); rawData = mapped.value("posts").toList();
break; break;
default: default:
rawData = mapped.value("post_ids").toList(); rawData = QVariant(mapped.value("post_ids").toString().split(' ')).toList();
}; };
QVariantMap map = { QVariantMap map = {
{"id", id}, {"id", id},