Prevent opening the non-existent "Home" space in your web browser
I carved out an exception for "DM", but we need it for "Home" too. BUG: 504842
This commit is contained in:
@@ -540,7 +540,7 @@ void RoomManager::setCurrentSpace(const QString &spaceId, bool setRoom)
|
|||||||
|
|
||||||
const auto &lastRoom = m_lastRoomConfig.readEntry(configSpaceId, QString());
|
const auto &lastRoom = m_lastRoomConfig.readEntry(configSpaceId, QString());
|
||||||
if (lastRoom.isEmpty()) {
|
if (lastRoom.isEmpty()) {
|
||||||
if (spaceId != u"DM"_s) {
|
if (spaceId != u"DM"_s && spaceId != u"Home"_s) {
|
||||||
resolveResource(spaceId, "no_join"_L1);
|
resolveResource(spaceId, "no_join"_L1);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user