From 0f363b5f4424cc4cdf0e36d7aa5b62b8e8ea52bc Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Fri, 24 Nov 2017 00:10:58 +0200 Subject: Send read receipts Automatically dismiss unread notifications when the window regains focus. fixes #111 fixes #68 --- include/TimelineItem.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/TimelineItem.h') diff --git a/include/TimelineItem.h b/include/TimelineItem.h index d90810d5..cd522308 100644 --- a/include/TimelineItem.h +++ b/include/TimelineItem.h @@ -66,7 +66,8 @@ public: QWidget *parent); void setUserAvatar(const QImage &pixmap); - DescInfo descriptionMessage() const { return descriptionMsg_; }; + DescInfo descriptionMessage() const { return descriptionMsg_; } + QString eventId() const { return event_id_; } ~TimelineItem(); @@ -85,6 +86,7 @@ private: void setupSimpleLayout(); QString replaceEmoji(const QString &body); + QString event_id_; DescInfo descriptionMsg_; -- cgit 1.5.1