This commit is contained in:
shoopea 2019-06-12 00:00:20 +08:00
parent 06f8be55b4
commit de06d9c590

2
job.go
View File

@ -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,