2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Added ability to schedule messages to be sent when user comes online.

Pro tip: Hold Ctrl key to send a silent scheduled message!
This commit is contained in:
23rd
2020-01-15 05:31:28 +03:00
committed by John Preston
parent 8ebbeb5274
commit c08b2ae3df
10 changed files with 68 additions and 13 deletions

View File

@@ -3019,6 +3019,8 @@ SendMenuType HistoryWidget::sendMenuType() const {
? SendMenuType::Disabled
: _peer->isSelf()
? SendMenuType::Reminder
: HistoryView::CanScheduleUntilOnline(_peer)
? SendMenuType::ScheduledToUser
: SendMenuType::Scheduled;
}