diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-07-26 20:45:16 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-07-26 20:45:16 +0200 |
commit | dda3bcd3bd228da1fb18ac1786b690270bf391f0 (patch) | |
tree | 511f82e5a7bbed573e3059f4428b345e561535c5 /plugins | |
parent | 2ed4776bb1d49ab420dd4abded8a34f99d31e4d4 (diff) |
Matrix: greatly improve performance when entering a very large room (initially and later on)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Matrix.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp index 293b00a..fad90da 100644 --- a/plugins/Matrix.hpp +++ b/plugins/Matrix.hpp @@ -269,7 +269,7 @@ namespace QuickMedia { class MatrixChatPage; class MatrixNotificationsPage; - using UsersByRoom = std::unordered_multimap<RoomData*, MatrixEventUserInfo>; + using UsersByRoom = std::unordered_map<RoomData*, std::unordered_map<std::string, MatrixEventUserInfo>>; class MatrixQuickMedia : public MatrixDelegate { public: |