mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 23:55:12 +00:00
Fixed applying active participant state when changing local volume.
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user