diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl index 056934628..8091a5445 100644 --- a/td/generate/scheme/td_api.tl +++ b/td/generate/scheme/td_api.tl @@ -5340,6 +5340,9 @@ chatEventHasAggressiveAntiSpamEnabledToggled has_aggressive_anti_spam_enabled:Bo //@description The sign_messages setting of a channel was toggled @sign_messages New value of sign_messages chatEventSignMessagesToggled sign_messages:Bool = ChatEventAction; +//@description The show_message_sender setting of a channel was toggled @show_message_sender New value of show_message_sender +chatEventShowMessageSenderToggled show_message_sender:Bool = ChatEventAction; + //@description A chat invite link was edited @old_invite_link Previous information about the invite link @new_invite_link New information about the invite link chatEventInviteLinkEdited old_invite_link:chatInviteLink new_invite_link:chatInviteLink = ChatEventAction; diff --git a/td/telegram/DialogEventLog.cpp b/td/telegram/DialogEventLog.cpp index 0c8fbcbad..4b5f69a12 100644 --- a/td/telegram/DialogEventLog.cpp +++ b/td/telegram/DialogEventLog.cpp @@ -166,7 +166,8 @@ static td_api::object_ptr get_chat_event_action_object( return td_api::make_object(action->new_value_); } case telegram_api::channelAdminLogEventActionToggleSignatureProfiles::ID: { - return nullptr; + auto action = move_tl_object_as(action_ptr); + return td_api::make_object(action->new_value_); } case telegram_api::channelAdminLogEventActionUpdatePinned::ID: { auto action = move_tl_object_as(action_ptr);