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

feat(groups): show who is in a group call before joining

Fix #5507
This commit is contained in:
Anthony Bilinski 2019-01-23 08:22:14 -08:00
parent 5289c99962
commit ec07fd7291
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -485,6 +485,8 @@ void CoreAV::groupCallCallback(void* tox, uint32_t group, uint32_t peer, const i
return;
}
emit c->groupPeerAudioPlaying(group, peer);
CoreAV* cav = c->getAv();
auto it = cav->groupCalls.find(group);
@ -494,8 +496,6 @@ void CoreAV::groupCallCallback(void* tox, uint32_t group, uint32_t peer, const i
ToxGroupCall& call = it->second;
emit c->groupPeerAudioPlaying(group, peer);
if (call.getMuteVol() || !call.isActive()) {
return;
}