Fix macos not supporting emplace of aggregates yet

text-ci
Nicolas Werner 1 year ago
parent a583de297c
commit 634a247b4c
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 2
      src/ui/UserProfile.cpp

@ -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}};

Loading…
Cancel
Save