Browse Source

fix: audiocall button disabled in groupchats

change the condition for when the audiocall button is enabled

affects #2989
pull/3188/head
sudden6 9 years ago
parent
commit
db4f02a0c4
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
  1. 2
      src/widget/form/groupchatform.cpp

2
src/widget/form/groupchatform.cpp

@ -217,7 +217,7 @@ void GroupChatForm::onUserListChanged() @@ -217,7 +217,7 @@ void GroupChatForm::onUserListChanged()
}
// Enable or disable call button
if (peersCount != 1 && !callButton->isEnabled())
if (peersCount > 1 && group->isAvGroupchat())
{
callButton->setEnabled(true);
callButton->setObjectName("green");

Loading…
Cancel
Save