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:
@@ -3019,6 +3019,8 @@ SendMenuType HistoryWidget::sendMenuType() const {
|
||||
? SendMenuType::Disabled
|
||||
: _peer->isSelf()
|
||||
? SendMenuType::Reminder
|
||||
: HistoryView::CanScheduleUntilOnline(_peer)
|
||||
? SendMenuType::ScheduledToUser
|
||||
: SendMenuType::Scheduled;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user