1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-08 11:03:30 +02:00

chatview: hide AddMemberPanel if max participants is reached

Change-Id: Ibe07af6400b4f761951e7b6251646b311f56f1b6
This commit is contained in:
Sébastien Blin 2022-07-21 11:08:46 -04:00
parent 8fb34e34aa
commit b46acb12d3
No known key found for this signature in database
GPG key ID: C894BB01EEB2A9A9

View file

@ -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
}