aboutsummaryrefslogtreecommitdiffhomepage
path: root/td
diff options
context:
space:
mode:
Diffstat (limited to 'td')
-rw-r--r--td/telegram/DialogParticipant.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/td/telegram/DialogParticipant.h b/td/telegram/DialogParticipant.h
index fe457a164..0066ad065 100644
--- a/td/telegram/DialogParticipant.h
+++ b/td/telegram/DialogParticipant.h
@@ -65,7 +65,7 @@ class AdministratorRights {
AdministratorRights(const td_api::object_ptr<td_api::chatAdministratorRights> &administrator_rights,
ChannelType channel_type);
- AdministratorRights(const td_api::object_ptr<td_api::communityAdministratorRights> &administrator_rights);
+ explicit AdministratorRights(const td_api::object_ptr<td_api::communityAdministratorRights> &administrator_rights);
AdministratorRights(bool is_anonymous, bool can_manage_dialog, bool can_change_info, bool can_post_messages,
bool can_edit_messages, bool can_delete_messages, bool can_invite_users,
@@ -223,7 +223,7 @@ class RestrictedRights {
RestrictedRights(const td_api::object_ptr<td_api::chatPermissions> &rights, ChannelType channel_type);
- RestrictedRights(const td_api::object_ptr<td_api::communityPermissions> &rights);
+ explicit RestrictedRights(const td_api::object_ptr<td_api::communityPermissions> &rights);
RestrictedRights(bool can_send_messages, bool can_send_audios, bool can_send_documents, bool can_send_photos,
bool can_send_videos, bool can_send_video_notes, bool can_send_voice_notes, bool can_send_stickers,