1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(group): don't display netcam view for group voice calls

This is a minimal fix to reduce risk for the release. A more complete
re-architecture will be made.

The netcam covers much of the chat in groups, and has nothing to show since
group video calls aren't possible. Who is speaking in call is already shown by
the bold names at the top of the group, taking much less space.

Fix #5918
This commit is contained in:
Anthony Bilinski 2020-01-25 20:17:11 -08:00
parent 92e51b05ac
commit 5b31effdb4
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -342,7 +342,6 @@ void GroupChatForm::onCallClicked()
audioInputFlag = true;
audioOutputFlag = true;
inCall = true;
showNetcam();
} else {
leaveGroupCall();
}
@ -477,5 +476,4 @@ void GroupChatForm::leaveGroupCall()
audioInputFlag = false;
audioOutputFlag = false;
inCall = false;
hideNetcam();
}