2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 06:55:58 +00:00

Add raised hand display in participants list.

This commit is contained in:
John Preston
2021-03-09 11:24:29 +04:00
parent fb579f1c10
commit 361e3565d4
11 changed files with 63 additions and 35 deletions

View File

@@ -301,10 +301,13 @@ void GroupCall::applyParticipantsSlice(
: data.is_muted_by_you();
const auto onlyMinLoaded = data.is_min()
&& (!was || was->onlyMinLoaded);
const auto raisedHandRating
= data.vraise_hand_rating().value_or_empty();
const auto value = Participant{
.peer = participantPeer,
.date = data.vdate().v,
.lastActive = lastActive,
.raisedHandRating = raisedHandRating,
.ssrc = uint32(data.vsource().v),
.volume = volume,
.applyVolumeFromMin = applyVolumeFromMin,