aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/DialogParticipant.cpp
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2026-06-15 20:18:44 +0300
committerlevlam <levlam@telegram.org>2026-06-15 20:18:44 +0300
commitb768eb2911f494c0678f4a4ff2c4a0529cb3cc6e (patch)
tree4367ebdcb5794d1388c0a22946fe3c26bbba64bd /td/telegram/DialogParticipant.cpp
parent7f100de0877bc3d47ea3b3c76b856da886d5a070 (diff)
Update layer to 228.
Diffstat (limited to 'td/telegram/DialogParticipant.cpp')
-rw-r--r--td/telegram/DialogParticipant.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/td/telegram/DialogParticipant.cpp b/td/telegram/DialogParticipant.cpp
index a0dee579d..ba9a47e7b 100644
--- a/td/telegram/DialogParticipant.cpp
+++ b/td/telegram/DialogParticipant.cpp
@@ -99,7 +99,7 @@ telegram_api::object_ptr<telegram_api::chatAdminRights> AdministratorRights::get
0, can_change_info_and_settings(), can_post_messages(), can_edit_messages(), can_delete_messages(),
can_restrict_members(), can_invite_users(), can_pin_messages(), can_promote_members(), is_anonymous(),
can_manage_calls(), can_manage_dialog(), can_manage_topics(), can_post_stories(), can_edit_stories(),
- can_delete_stories(), can_manage_direct_messages(), can_manage_ranks());
+ can_delete_stories(), can_manage_direct_messages(), can_manage_ranks(), false);
}
td_api::object_ptr<td_api::chatAdministratorRights> AdministratorRights::get_chat_administrator_rights_object() const {
@@ -262,7 +262,8 @@ telegram_api::object_ptr<telegram_api::chatBannedRights> RestrictedRights::get_c
!can_send_animations(), !can_send_games(), !can_use_inline_bots(), !can_add_web_page_previews(),
!can_send_polls(), !can_change_info_and_settings(), !can_invite_users(), !can_pin_messages(),
!can_manage_topics(), !can_send_photos(), !can_send_videos(), !can_send_video_notes(), !can_send_audios(),
- !can_send_voice_notes(), !can_send_documents(), !can_send_messages(), !can_edit_rank(), !can_send_reactions(), 0);
+ !can_send_voice_notes(), !can_send_documents(), !can_send_messages(), !can_edit_rank(), !can_send_reactions(),
+ false, 0);
}
bool operator==(const RestrictedRights &lhs, const RestrictedRights &rhs) {