Don't open the space home page when changing spaces on android

When I change space on android I just want to be able to select a room I'm in.
This commit is contained in:
James Graham
2024-11-24 13:13:47 +00:00
parent f8a5509a91
commit 2e3659d4ee
2 changed files with 6 additions and 5 deletions

View File

@@ -200,7 +200,6 @@ QQC2.Control {
activeFocusOnTab: true
onSelected: {
RoomManager.resolveResource(spaceDelegate.roomId);
RoomManager.currentSpace = spaceDelegate.roomId;
}
checked: RoomManager.currentSpace === roomId

View File

@@ -455,10 +455,12 @@ void RoomManager::setCurrentSpace(const QString &spaceId, bool setRoom)
return;
}
if (spaceId.length() > 3) {
resolveResource(spaceId, "no_join"_ls);
} else if (!m_isMobile) {
visitRoom({}, {});
if (!m_isMobile) {
if (spaceId.length() > 3) {
resolveResource(spaceId, "no_join"_ls);
} else {
visitRoom({}, {});
}
}
}