summary refs log tree commit diff
path: root/include/TimelineView.h
diff options
context:
space:
mode:
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);