summary refs log tree commit diff
path: root/src/timeline/ReactionsModel.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-05-06 11:15:45 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2020-05-06 11:15:45 +0200
commit8348a6c35dfd49e1711488e8972db841c8daa137 (patch)
tree04cbaf5be484e215addabefb3a2d76785de0c41a /src/timeline/ReactionsModel.h
parentReaction and Button layout fixes (diff)
downloadnheko-8348a6c35dfd49e1711488e8972db841c8daa137.tar.xz
Fix reaction count
Diffstat (limited to 'src/timeline/ReactionsModel.h')
-rw-r--r--src/timeline/ReactionsModel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/ReactionsModel.h b/src/timeline/ReactionsModel.h

index ba71f2b7..a0a8580d 100644 --- a/src/timeline/ReactionsModel.h +++ b/src/timeline/ReactionsModel.h
@@ -33,7 +33,7 @@ private: struct KeyReaction { std::string key; - std::vector<mtx::events::RoomEvent<mtx::events::msg::Reaction>> reactions; + std::map<std::string, mtx::events::RoomEvent<mtx::events::msg::Reaction>> reactions; }; std::vector<KeyReaction> reactions; };