summary refs log tree commit diff
path: root/include/timeline/TimelineView.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-02-15 21:58:57 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-02-15 21:58:57 +0200
commit86280098b49709fed6cc850f8ba28dac0b29c216 (patch)
treec308583ee8dee63f21984ff4ab4d165e350c8128 /include/timeline/TimelineView.h
parentSimplify variant access with std::visit (diff)
downloadnheko-86280098b49709fed6cc850f8ba28dac0b29c216.tar.xz
Implement server-side notification count
Diffstat (limited to 'include/timeline/TimelineView.h')
-rw-r--r--include/timeline/TimelineView.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/timeline/TimelineView.h b/include/timeline/TimelineView.h

index fb7c6485..6e1287c8 100644 --- a/include/timeline/TimelineView.h +++ b/include/timeline/TimelineView.h
@@ -83,7 +83,7 @@ public: QWidget *parent = 0); // Add new events at the end of the timeline. - int addEvents(const mtx::responses::Timeline &timeline); + void addEvents(const mtx::responses::Timeline &timeline); void addUserMessage(mtx::events::MessageType ty, const QString &msg); template<class Widget, mtx::events::MessageType MsgType> @@ -113,7 +113,6 @@ private slots: signals: void updateLastTimelineMessage(const QString &user, const DescInfo &info); - void clearUnreadMessageCount(const QString &room_id); protected: void paintEvent(QPaintEvent *event) override;