Update to 7.4.2 (2226)

This commit is contained in:
DrKLO 2021-01-30 09:18:23 +03:00
parent fed0c139e7
commit eb2bbd32c1
28 changed files with 356 additions and 89 deletions

View file

@ -436,10 +436,16 @@ public class ChatObject {
invitedUsers.remove(id);
}
if (oldParticipant != null) {
oldParticipant.flags = participant.flags;
oldParticipant.muted = participant.muted;
oldParticipant.muted_by_you = participant.muted_by_you;
oldParticipant.volume = participant.volume;
if (!participant.min) {
oldParticipant.volume = participant.volume;
} else {
if ((participant.flags & 128) != 0 && (oldParticipant.flags & 128) == 0) {
participant.flags &=~ 128;
}
}
oldParticipant.flags = participant.flags;
oldParticipant.can_self_unmute = participant.can_self_unmute;
oldParticipant.date = participant.date;
oldParticipant.lastTypingDate = Math.max(oldParticipant.active_date, participant.active_date);