diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-08-17 14:21:04 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-08-17 14:21:04 +0200 |
commit | 028bcd5b7c116564b6b44a4ce4c4bdac5ddcb926 (patch) | |
tree | 0aae35cd3593b2c356a53792efcf0346f5e9e8b7 /src/timeline | |
parent | Merge pull request #659 from kamathmanu/nhekoRoomDirectory (diff) | |
download | nheko-028bcd5b7c116564b6b44a4ce4c4bdac5ddcb926.tar.xz |
Update join button in room directory after join
Diffstat (limited to 'src/timeline')
-rw-r--r-- | src/timeline/RoomlistModel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timeline/RoomlistModel.cpp b/src/timeline/RoomlistModel.cpp index f4c927ac..942a4b05 100644 --- a/src/timeline/RoomlistModel.cpp +++ b/src/timeline/RoomlistModel.cpp @@ -379,6 +379,8 @@ RoomlistModel::addRoom(const QString &room_id, bool suppressInsertNotification) if (!suppressInsertNotification && ((!wasInvite && !wasPreview) || !previewedRooms.empty())) endInsertRows(); + + emit ChatPage::instance()->newRoom(room_id); } } |