diff --git a/job.go b/job.go index bb6467a..f72123b 100644 --- a/job.go +++ b/job.go @@ -457,7 +457,7 @@ func jobBackupExport(j Job) { msgs = append(msgs, *msg) } i = i + 1 - if time.Now().Add(1 * time.Minute).After(milestone) { + if time.Now().After(milestone.Add(1 * time.Minute)) { txt := fmt.Sprintf("Exported %d/%d messages.", i, len(ids)) m = TGCommand{ Type: commandReplyMsg,