Skip to content
Snippets Groups Projects
Verified Commit 634a247b authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix macos not supporting emplace of aggregates yet

parent a583de29
No related branches found
No related tags found
No related merge requests found
Pipeline #5187 passed
......@@ -264,7 +264,7 @@ UserProfile::setIgnored(bool ignore)
std::vector<mtx::events::account_data::IgnoredUser> content;
for (const QString &item : std::as_const(old)) {
content.emplace_back(item.toStdString());
content.push_back({item.toStdString()});
}
mtx::events::account_data::IgnoredUsers payload{.users{content}};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment