diff --git a/ui/app/AppLayouts/Chat/ChatLayout.qml b/ui/app/AppLayouts/Chat/ChatLayout.qml index 4ecbc9bd1d..faa978ac63 100644 --- a/ui/app/AppLayouts/Chat/ChatLayout.qml +++ b/ui/app/AppLayouts/Chat/ChatLayout.qml @@ -46,6 +46,8 @@ StackLayout { // Community transfer ownership related props/signals: property bool isPendingOwnershipRequest: sectionItemModel.isPendingOwnershipRequest + onIsPrivilegedUserChanged: if (root.currentIndex === 1) root.currentIndex = 0 + onCurrentIndexChanged: { Global.closeCreateChatView() }