mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Merge tag 'v6.6.2' into dev
This commit is contained in:
@@ -96,6 +96,9 @@ constexpr auto kDefaultChargeStars = 10;
|
||||
{ Flag::AddParticipants, tr::lng_rights_chat_add_members(tr::now) },
|
||||
{ Flag::CreateTopics, tr::lng_rights_group_add_topics(tr::now) },
|
||||
{ Flag::PinMessages, tr::lng_rights_group_pin(tr::now) },
|
||||
{ Flag::EditRank, (options.isUserSpecific
|
||||
? tr::lng_rights_group_edit_rank_single
|
||||
: tr::lng_rights_group_edit_rank)(tr::now) },
|
||||
{ Flag::ChangeInfo, tr::lng_rights_group_info(tr::now) },
|
||||
};
|
||||
if (!options.isForum) {
|
||||
@@ -136,6 +139,7 @@ constexpr auto kDefaultChargeStars = 10;
|
||||
};
|
||||
auto second = std::vector<AdminRightLabel>{
|
||||
{ Flag::ManageCall, tr::lng_rights_group_manage_calls(tr::now) },
|
||||
{ Flag::ManageRanks, tr::lng_rights_group_manage_ranks(tr::now) },
|
||||
{ Flag::Anonymous, tr::lng_rights_group_anonymous(tr::now) },
|
||||
{ Flag::AddAdmins, tr::lng_rights_add_admins(tr::now) },
|
||||
};
|
||||
@@ -315,7 +319,8 @@ ChatRestrictions NegateRestrictions(ChatRestrictions value) {
|
||||
| Flag::SendMusic
|
||||
| Flag::SendVoiceMessages
|
||||
| Flag::SendFiles
|
||||
| Flag::SendOther);
|
||||
| Flag::SendOther
|
||||
| Flag::EditRank);
|
||||
}
|
||||
|
||||
auto Dependencies(ChatAdminRights)
|
||||
|
||||
Reference in New Issue
Block a user