reset currentRoom before opening last room of connection
This commit is contained in:
@@ -252,6 +252,7 @@ void RoomManager::openRoomForActiveConnection()
|
|||||||
if (lastRoom.isEmpty() || !m_connection->room(lastRoom)) {
|
if (lastRoom.isEmpty() || !m_connection->room(lastRoom)) {
|
||||||
setCurrentRoom({});
|
setCurrentRoom({});
|
||||||
} else {
|
} else {
|
||||||
|
m_currentRoom = nullptr;
|
||||||
resolveResource(lastRoom);
|
resolveResource(lastRoom);
|
||||||
}
|
}
|
||||||
setCurrentSpace(m_lastSpaceConfig.readEntry(m_connection->userId(), QString()), false);
|
setCurrentSpace(m_lastSpaceConfig.readEntry(m_connection->userId(), QString()), false);
|
||||||
|
|||||||
Reference in New Issue
Block a user