Faster switching of rooms from different accounts
Use a single [userId, roomId] property for the chat page. This gets read of the intermediate state where the userId property has been updated but the roomId one not yet, which led to the page unloading and reloading itself until both were properly set. Side-effect: when starting Mirage after this commit for the first time, the last saved page will not load and user must click a room or other page manually.
This commit is contained in:
@@ -8,7 +8,7 @@ import "../../../../Base"
|
||||
HColumnLayout {
|
||||
readonly property alias keybindFocusItem: filterField
|
||||
readonly property var modelSyncId:
|
||||
[chat.userId, chat.roomId, "filtered_members"]
|
||||
[chat.userRoomId[0], chat.userRoomId[1], "filtered_members"]
|
||||
|
||||
readonly property alias viewDepth: stackView.depth
|
||||
readonly property alias filterField: filterField
|
||||
|
Reference in New Issue
Block a user