diff options
Diffstat (limited to 'src/ChatPage.cc')
-rw-r--r-- | src/ChatPage.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ChatPage.cc b/src/ChatPage.cc index 4dbda90d..82e694a1 100644 --- a/src/ChatPage.cc +++ b/src/ChatPage.cc @@ -126,6 +126,11 @@ ChatPage::ChatPage(QSharedPointer<MatrixClient> client, QWidget *parent) room_list_, &RoomList::roomChanged, view_manager_, &TimelineViewManager::setHistoryView); connect(view_manager_, + &TimelineViewManager::clearRoomMessageCount, + room_list_, + &RoomList::clearRoomMessageCount); + + connect(view_manager_, &TimelineViewManager::unreadMessages, this, [=](const QString &roomid, int count) { |