Skip to content
Snippets Groups Projects
Unverified Commit b46acb12 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

chatview: hide AddMemberPanel if max participants is reached

Change-Id: Ibe07af6400b4f761951e7b6251646b311f56f1b6
parent 8fb34e34
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment