summary refs log tree commit diff
path: root/include/TimelineView.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-09-02 16:47:59 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-09-02 16:47:59 +0300
commita44a4f36af67c016e207b1cbd63817c6751ed89d (patch)
tree13a8cbee8ae04b081fcbc4999a4e9efe8d9a0ffe /include/TimelineView.h
parentLinkify URLs in room topics (diff)
downloadnheko-a44a4f36af67c016e207b1cbd63817c6751ed89d.tar.xz
Add read support for m.emote events (#41)
Diffstat (limited to 'include/TimelineView.h')
-rw-r--r--include/TimelineView.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/TimelineView.h b/include/TimelineView.h

index c6eef266..7583e4c2 100644 --- a/include/TimelineView.h +++ b/include/TimelineView.h
@@ -28,6 +28,7 @@ #include "TimelineItem.h" #include "Image.h" +#include "Emote.h" #include "Notice.h" #include "RoomInfoListItem.h" #include "Text.h" @@ -77,6 +78,8 @@ public: bool with_sender); TimelineItem *createTimelineItem(const events::MessageEvent<msgs::Text> &e, bool with_sender); + TimelineItem *createTimelineItem(const events::MessageEvent<msgs::Emote> &e, + bool with_sender); // Add new events at the end of the timeline. int addEvents(const Timeline &timeline);