parent
c6d7270bbc
commit
0f05a1fd63
|
@ -483,7 +483,10 @@ auto GenerateParticipantChangeText(
|
||||||
user,
|
user,
|
||||||
ChatRestrictionsInfo(),
|
ChatRestrictionsInfo(),
|
||||||
oldRestrictions);
|
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(
|
return GeneratePermissionsChangeText(
|
||||||
participantId,
|
participantId,
|
||||||
user,
|
user,
|
||||||
|
|
Loading…
Reference in New Issue