Emit missing signal to switch the view to the room page

This commit is contained in:
Carl Schwan
2021-04-28 15:24:58 +02:00
parent 1066b010b8
commit 023cb2a991

View File

@@ -100,6 +100,7 @@ void RoomManager::enterRoom(NeoChatRoom *room)
m_lastCurrentRoom = std::exchange(m_currentRoom, room);
Q_EMIT currentRoomChanged();
Q_EMIT replaceRoom(m_currentRoom, QString());
NeoChatConfig::self()->setOpenRoom(room->id());
NeoChatConfig::self()->save();