diff --git a/src/app/mainview/components/ChatView.qml b/src/app/mainview/components/ChatView.qml index e79c5d36..402f4c11 100644 --- a/src/app/mainview/components/ChatView.qml +++ b/src/app/mainview/components/ChatView.qml @@ -81,8 +81,8 @@ Rectangle { Connections { target: CurrentConversation - function onUrisChanged(uris) { - if (uris && uris.length >= 8 && addMemberPanel.visible) { + onUrisChanged: { + if (CurrentConversation.uris.length >= 8 && addMemberPanel.visible) { swarmDetailsPanel.visible = false addMemberPanel.visible = !addMemberPanel.visible }