diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-08-06 18:53:31 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-08-06 18:53:31 +0300 |
commit | 146aaa87465765cd9d3153d95b0791c587902d62 (patch) | |
tree | 6850d0b1bb9de9c95f3b99d7b1a4e3f622f4e6f8 /src/ChatPage.cc | |
parent | Avoid header conflict (second attempt) (diff) | |
download | nheko-146aaa87465765cd9d3153d95b0791c587902d62.tar.xz |
Display the most recent message instead of the topic
closes #11
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 5862e559..9f20d54f 100644 --- a/src/ChatPage.cc +++ b/src/ChatPage.cc @@ -138,6 +138,11 @@ ChatPage::ChatPage(QSharedPointer<MatrixClient> client, QWidget *parent) room_list_->updateUnreadMessageCount(roomid, count); }); + connect(view_manager_, + &TimelineViewManager::updateRoomsLastMessage, + room_list_, + &RoomList::updateRoomDescription); + connect(room_list_, SIGNAL(totalUnreadMessageCountUpdated(int)), this, |