Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix: audiocall button disabled in groupchats
Browse files Browse the repository at this point in the history
change the condition for when the audiocall button is enabled

affects #2989
  • Loading branch information
sudden6 committed Apr 24, 2016
1 parent 28cecad commit db4f02a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widget/form/groupchatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit db4f02a

Please sign in to comment.