From f9bf1e937233c4220d17d45e5710d9a8f52c326f Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 5 Mar 2026 11:30:38 +0400 Subject: [PATCH] Fix the build on Windows. --- Telegram/SourceFiles/menu/menu_send.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/menu/menu_send.cpp b/Telegram/SourceFiles/menu/menu_send.cpp index db0c5c25d6..d829cabec6 100644 --- a/Telegram/SourceFiles/menu/menu_send.cpp +++ b/Telegram/SourceFiles/menu/menu_send.cpp @@ -737,8 +737,6 @@ FillMenuResult FillSendMenu( const auto &icons = iconsOverride ? *iconsOverride : st::defaultComposeIcons; - - } if (sending && type != Type::SilentOnly) { menu->addAction( ((type == Type::Reminder) @@ -761,6 +759,7 @@ FillMenuResult FillSendMenu( [=] { action({ Api::SendOptions{ .silent = true } }, details); }, &icons.menuMute); + } if ((type != Type::Disabled) && ((details.spoiler != SpoilerState::None) || (details.caption != CaptionState::None)