mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-09-08 04:53:09 +02:00
Fixed applying active participant state when changing local volume.
This commit is contained in:
parent
5d1f55e29d
commit
7424e6afcc
1 changed files with 5 additions and 1 deletions
|
@ -331,7 +331,11 @@ void Row::updateState(const Data::GroupCall::Participant *participant) {
|
||||||
setSpeaking(false);
|
setSpeaking(false);
|
||||||
} else if (!participant->muted
|
} else if (!participant->muted
|
||||||
|| (participant->sounding && participant->ssrc != 0)) {
|
|| (participant->sounding && participant->ssrc != 0)) {
|
||||||
setState(participant->mutedByMe ? State::MutedByMe : State::Active);
|
setState(participant->mutedByMe
|
||||||
|
? State::MutedByMe
|
||||||
|
: (participant->sounding || participant->speaking)
|
||||||
|
? State::Active
|
||||||
|
: State::Inactive);
|
||||||
setSounding(participant->sounding && participant->ssrc != 0);
|
setSounding(participant->sounding && participant->ssrc != 0);
|
||||||
setSpeaking(participant->speaking && participant->ssrc != 0);
|
setSpeaking(participant->speaking && participant->ssrc != 0);
|
||||||
} else if (participant->canSelfUnmute) {
|
} else if (participant->canSelfUnmute) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue