2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Mute by me / change participant volume.

This commit is contained in:
John Preston
2020-12-29 18:54:17 +04:00
parent b396244606
commit f63f0a7668
7 changed files with 188 additions and 26 deletions

View File

@@ -280,8 +280,10 @@ void GroupCall::applyParticipantsSlice(
.date = data.vdate().v,
.lastActive = lastActive,
.ssrc = uint32(data.vsource().v),
.volume = data.vvolume().value_or(kDefaultVolume),
.speaking = canSelfUnmute && (was ? was->speaking : false),
.muted = data.is_muted(),
.mutedByMe = data.is_muted_by_you(),
.canSelfUnmute = canSelfUnmute,
};
if (i == end(_participants)) {