Fix anonymous administrator right.
This commit is contained in:
parent
1a2efed26d
commit
782670c7db
@ -43,7 +43,7 @@ class AdministratorRights {
|
||||
|
||||
friend class DialogParticipantStatus;
|
||||
|
||||
explicit AdministratorRights(int32 flags) : flags_(flags & ALL_ADMINISTRATOR_RIGHTS) {
|
||||
explicit AdministratorRights(int32 flags) : flags_(flags & (ALL_ADMINISTRATOR_RIGHTS | IS_ANONYMOUS)) {
|
||||
}
|
||||
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user