Fix the build on Windows.

This commit is contained in:
John Preston
2026-03-05 11:30:38 +04:00
parent e3689a1f12
commit f9bf1e9372
+1 -2
View File
@@ -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)