Add stories rights by default to new admins.
This commit is contained in:
parent
7f7d544943
commit
dd6768a476
|
@ -216,6 +216,9 @@ ChatAdminRightsInfo EditAdminBox::defaultRights() const {
|
|||
: peer()->isMegagroup()
|
||||
? ChatAdminRightsInfo{ (Flag::ChangeInfo
|
||||
| Flag::DeleteMessages
|
||||
| Flag::PostStories
|
||||
| Flag::EditStories
|
||||
| Flag::DeleteStories
|
||||
| Flag::BanUsers
|
||||
| Flag::InviteByLinkOrAdd
|
||||
| Flag::ManageTopics
|
||||
|
@ -225,6 +228,9 @@ ChatAdminRightsInfo EditAdminBox::defaultRights() const {
|
|||
| Flag::PostMessages
|
||||
| Flag::EditMessages
|
||||
| Flag::DeleteMessages
|
||||
| Flag::PostStories
|
||||
| Flag::EditStories
|
||||
| Flag::DeleteStories
|
||||
| Flag::InviteByLinkOrAdd
|
||||
| Flag::ManageCall) };
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue