Fix copy-paste bug.
This commit is contained in:
parent
df24a2ec90
commit
68db9a03cc
@ -322,7 +322,7 @@ class DialogParticipantStatus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool can_delete_messages() const {
|
bool can_delete_messages() const {
|
||||||
return get_administrator_rights().can_edit_messages();
|
return get_administrator_rights().can_delete_messages();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool can_invite_users() const {
|
bool can_invite_users() const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user