Fixed applying participant locally in group calls.
This commit is contained in:
parent
173564bcd5
commit
70cdc05544
|
@ -409,8 +409,9 @@ void GroupCall::applyParticipantLocally(
|
|||
const auto mutedCount = 0/*participant->mutedCount*/;
|
||||
using Flag = MTPDgroupCallParticipant::Flag;
|
||||
const auto flags = (canSelfUnmute ? Flag::f_can_self_unmute : Flag(0))
|
||||
| (volume.has_value() ? Flag::f_volume : Flag(0))
|
||||
| (participant->lastActive ? Flag::f_active_date : Flag(0))
|
||||
| (participant->muted ? Flag::f_muted : Flag(0))
|
||||
| (mute ? Flag::f_muted : Flag(0))
|
||||
| (participant->mutedByMe ? Flag::f_muted_by_you : Flag(0));
|
||||
_peer->groupCall()->applyUpdateChecked(
|
||||
MTP_updateGroupCallParticipants(
|
||||
|
|
Loading…
Reference in New Issue