parent
c6d7270bbc
commit
0f05a1fd63
|
@ -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…
Reference in New Issue