From a08f8d890d51ac59d53dd0b10474eeb1ee466a99 Mon Sep 17 00:00:00 2001 From: InternalProgramError <47084951+InternalProgramError@users.noreply.github.com> Date: Fri, 17 Oct 2025 17:55:10 +0300 Subject: [PATCH] Update menu_send.cpp Unification of Send menu (https://bugs.telegram.org/c/55220) --- Telegram/SourceFiles/menu/menu_send.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Telegram/SourceFiles/menu/menu_send.cpp b/Telegram/SourceFiles/menu/menu_send.cpp index 9c4794d5d0..db0c5c25d6 100644 --- a/Telegram/SourceFiles/menu/menu_send.cpp +++ b/Telegram/SourceFiles/menu/menu_send.cpp @@ -738,11 +738,6 @@ FillMenuResult FillSendMenu( ? *iconsOverride : st::defaultComposeIcons; - if (sending && type != Type::Reminder) { - menu->addAction( - tr::lng_send_silent_message(tr::now), - [=] { action({ Api::SendOptions{ .silent = true } }, details); }, - &icons.menuMute); } if (sending && type != Type::SilentOnly) { menu->addAction( @@ -760,6 +755,11 @@ FillMenuResult FillSendMenu( details); }, &icons.menuWhenOnline); } + if (sending && type != Type::Reminder) { + menu->addAction( + tr::lng_send_silent_message(tr::now), + [=] { action({ Api::SendOptions{ .silent = true } }, details); }, + &icons.menuMute); if ((type != Type::Disabled) && ((details.spoiler != SpoilerState::None)