diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-05-04 13:14:54 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-05-04 13:14:54 +0200 |
commit | 54013e4a00b49721b79f141bca101523a1e82282 (patch) | |
tree | 34adeb66f50ede30913fafebbdc6d5f6b9d8fc43 /src/timeline/TimelineModel.h | |
parent | Add placeholder for reactions (diff) | |
download | nheko-54013e4a00b49721b79f141bca101523a1e82282.tar.xz |
Basic, broken reaction display
Diffstat (limited to 'src/timeline/TimelineModel.h')
-rw-r--r-- | src/timeline/TimelineModel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/timeline/TimelineModel.h b/src/timeline/TimelineModel.h index cc63eca2..ecb64693 100644 --- a/src/timeline/TimelineModel.h +++ b/src/timeline/TimelineModel.h @@ -9,6 +9,7 @@ #include <mtxclient/http/errors.hpp> #include "CacheCryptoStructs.h" +#include "ReactionsModel.h" namespace mtx::http { using RequestErr = const std::optional<mtx::http::ClientError> &; @@ -155,6 +156,7 @@ public: State, IsEncrypted, ReplyTo, + Reactions, RoomId, RoomName, RoomTopic, @@ -271,6 +273,7 @@ private: QSet<QString> read; QList<QString> pending; std::vector<QString> eventOrder; + std::map<QString, ReactionsModel> reactions; QString room_id_; QString prev_batch_token_; |