mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Add "Send when online" to the send button context menu.
This commit is contained in:
@@ -1885,7 +1885,8 @@ QPointer<Ui::BoxContent> ShowForwardMessagesBox(
|
||||
state->menu.get(),
|
||||
type,
|
||||
SendMenu::DefaultSilentCallback(submit),
|
||||
SendMenu::DefaultScheduleCallback(state->box, type, submit));
|
||||
SendMenu::DefaultScheduleCallback(state->box, type, submit),
|
||||
SendMenu::DefaultWhenOnlineCallback(submit));
|
||||
const auto success = (result == SendMenu::FillMenuResult::Success);
|
||||
if (showForwardOptions || success) {
|
||||
state->menu->setForcedVerticalOrigin(
|
||||
|
Reference in New Issue
Block a user