summary refs log tree commit diff
path: root/src/ui/UserProfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/UserProfile.cpp')
-rw-r--r--src/ui/UserProfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/UserProfile.cpp b/src/ui/UserProfile.cpp
index 1b66a97d..338f3658 100644
--- a/src/ui/UserProfile.cpp
+++ b/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}};