mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Fix incorrect admin log
Type: Restricted to Left
This commit is contained in:
parent
c6d7270bbc
commit
0f05a1fd63
1 changed files with 4 additions and 1 deletions
|
@ -483,7 +483,10 @@ auto GenerateParticipantChangeText(
|
|||
user,
|
||||
ChatRestrictionsInfo(),
|
||||
oldRestrictions);
|
||||
} else if (oldParticipant && oldParticipant->type() == Type::Restricted && participant.type() == Type::Member) {
|
||||
} else if (oldParticipant
|
||||
&& oldParticipant->type() == Type::Restricted
|
||||
&& (participant.type() == Type::Member
|
||||
|| participant.type() == Type::Left)) {
|
||||
return GeneratePermissionsChangeText(
|
||||
participantId,
|
||||
user,
|
||||
|
|
Loading…
Add table
Reference in a new issue