summaryrefslogtreecommitdiffstats
path: root/resources/qml/ChatPage.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-11-03 22:35:54 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-11-03 22:35:54 +0100
commit1a163f49e21ca64704460d292f1bf665be7e6c76 (patch)
tree2a0186e09b12a599ba46feb70fba59c7490875d0 /resources/qml/ChatPage.qml
parent912a8c43b26465b3bacca7491862eedb65859054 (diff)
Fix unjoinable invites on mobile as well as unclickable previews
Diffstat (limited to 'resources/qml/ChatPage.qml')
-rw-r--r--resources/qml/ChatPage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/ChatPage.qml b/resources/qml/ChatPage.qml
index 082fa8d6..22a04b74 100644
--- a/resources/qml/ChatPage.qml
+++ b/resources/qml/ChatPage.qml
@@ -21,7 +21,7 @@ Rectangle {
anchors.fill: parent
singlePageMode: communityListC.preferredWidth + roomListC.preferredWidth + timlineViewC.minimumWidth > width
- pageIndex: Rooms.currentRoom ? 2 : 1
+ pageIndex: (Rooms.currentRoom || Rooms.currentRoomPreview.roomid) ? 2 : 1
AdaptiveLayoutElement {
id: communityListC