mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Removed time shift when reschedule history item.
This commit is contained in:
parent
50f9f36c3d
commit
fd2d12d6b1
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue