diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-11-24 00:10:58 +0200 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-11-24 00:10:58 +0200 |
commit | 0f363b5f4424cc4cdf0e36d7aa5b62b8e8ea52bc (patch) | |
tree | b216baa489755bbb3343f350aa6c6d3e17725fba /include/TimelineItem.h | |
parent | Fix qss formatting (diff) | |
download | nheko-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.h | 4 |
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_; |