summary refs log tree commit diff
path: root/include/TimelineItem.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-24 00:10:58 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-24 00:10:58 +0200
commit0f363b5f4424cc4cdf0e36d7aa5b62b8e8ea52bc (patch)
treeb216baa489755bbb3343f350aa6c6d3e17725fba /include/TimelineItem.h
parentFix qss formatting (diff)
downloadnheko-0f363b5f4424cc4cdf0e36d7aa5b62b8e8ea52bc.tar.xz
Send read receipts
Automatically dismiss unread notifications when the window regains
focus.

fixes #111
fixes #68
Diffstat (limited to 'include/TimelineItem.h')
-rw-r--r--include/TimelineItem.h4
1 files changed, 3 insertions, 1 deletions
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_;