summary refs log tree commit diff
path: root/src/timeline
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-08-17 14:21:04 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-08-17 14:21:04 +0200
commit028bcd5b7c116564b6b44a4ce4c4bdac5ddcb926 (patch)
tree0aae35cd3593b2c356a53792efcf0346f5e9e8b7 /src/timeline
parentMerge pull request #659 from kamathmanu/nhekoRoomDirectory (diff)
downloadnheko-028bcd5b7c116564b6b44a4ce4c4bdac5ddcb926.tar.xz
Update join button in room directory after join
Diffstat (limited to 'src/timeline')
-rw-r--r--src/timeline/RoomlistModel.cpp2
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);
         }
 }