Fix show_in_attach_menu_ flag.
This commit is contained in:
parent
fb7cb1b1d0
commit
03ccaa40aa
@ -590,6 +590,10 @@ void AttachMenuManager::AttachMenuBot::parse(ParserT &parser) {
|
||||
supports_user_dialogs_ = true;
|
||||
supports_bot_dialogs_ = true;
|
||||
}
|
||||
if (is_added_ && !show_in_attach_menu_ && !show_in_side_menu_ && !has_android_side_menu_icon_file_id &&
|
||||
!has_ios_side_menu_icon_file_id && !has_macos_side_menu_icon_file_id) {
|
||||
show_in_attach_menu_ = true;
|
||||
}
|
||||
}
|
||||
|
||||
class AttachMenuManager::AttachMenuBotsLogEvent {
|
||||
|
Loading…
Reference in New Issue
Block a user