summary refs log tree commit diff
path: root/include/TimelineView.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-28 02:01:37 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-28 02:01:37 +0200
commitb21942a3e3db3e425155c58483a99bc2789de241 (patch)
tree860ffe40a5028b78df79de37a9b866a772885b1f /include/TimelineView.h
parentRemove another /messages call (#139) (diff)
downloadnheko-b21942a3e3db3e425155c58483a99bc2789de241.tar.xz
Add read support for m.file messages (#24)
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 3f506002..e3bedff0 100644 --- a/include/TimelineView.h +++ b/include/TimelineView.h
@@ -25,6 +25,7 @@ #include <QStyleOption> #include "Emote.h" +#include "File.h" #include "Image.h" #include "MessageEvent.h" #include "Notice.h" @@ -95,6 +96,8 @@ public: bool with_sender); TimelineItem *createTimelineItem(const events::MessageEvent<msgs::Emote> &e, bool with_sender); + TimelineItem *createTimelineItem(const events::MessageEvent<msgs::File> &e, + bool with_sender); // Add new events at the end of the timeline. int addEvents(const Timeline &timeline);