Removed time shift when reschedule history item.

This commit is contained in:
23rd 2024-08-18 20:32:21 +03:00
parent 50f9f36c3d
commit fd2d12d6b1

View file

@ -587,7 +587,7 @@ bool AddRescheduleAction(
const auto itemDate = firstItem->date();
const auto date = (itemDate == Api::kScheduledUntilOnlineTimestamp)
? HistoryView::DefaultScheduleTime()
: itemDate + 600;
: itemDate + (firstItem->isScheduled() ? 0 : crl::time(600));
const auto box = request.navigation->parentController()->show(
HistoryView::PrepareScheduleBox(