Allow repeat scheduling in any chat.

This commit is contained in:
John Preston
2025-10-09 17:37:01 +04:00
parent 1296505d01
commit 5ee0a2fea2
@@ -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) {