mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
Fix macos not supporting emplace of aggregates yet
This commit is contained in:
parent
a583de297c
commit
634a247b4c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue