From edff71bc2403c966bd61d5dde391184aa8822aac Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sun, 10 Sep 2017 12:58:00 +0300 Subject: Implement image uploads (#24) --- include/TimelineItem.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/TimelineItem.h') diff --git a/include/TimelineItem.h b/include/TimelineItem.h index edc15dab..0a0538f9 100644 --- a/include/TimelineItem.h +++ b/include/TimelineItem.h @@ -50,11 +50,14 @@ public: QWidget *parent = 0); // For local messages. + // m.text & m.emote TimelineItem(events::MessageEventType ty, const QString &userid, QString body, bool withSender, QWidget *parent = 0); + // m.image + TimelineItem(ImageItem *item, const QString &userid, bool withSender, QWidget *parent = 0); TimelineItem(ImageItem *img, const events::MessageEvent &e, -- cgit 1.5.1