mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Allow repeat scheduling in any chat.
This commit is contained in:
@@ -81,7 +81,9 @@ void ScheduleBox(
|
||||
Fn<void(Api::SendOptions)> done,
|
||||
TimeId time,
|
||||
ScheduleBoxStyleArgs style) {
|
||||
const auto repeat = (details.type == SendMenu::Type::Reminder)
|
||||
const auto repeat = (details.type == SendMenu::Type::Reminder
|
||||
|| details.type == SendMenu::Type::Scheduled
|
||||
|| details.type == SendMenu::Type::ScheduledToUser)
|
||||
? std::make_shared<TimeId>(initialOptions.scheduleRepeatPeriod)
|
||||
: nullptr;
|
||||
const auto submit = [=](Api::SendOptions options) {
|
||||
|
||||
Reference in New Issue
Block a user