From 3989da0c4c6707b9dbc34ef38fd6863de3df6f9b Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 14 Jun 2019 12:19:28 +0800 Subject: [PATCH] test --- job.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/job.go b/job.go index ef8a6bd..386ddcb 100644 --- a/job.go +++ b/job.go @@ -162,7 +162,7 @@ func jobRescan(j Job) { start := time.Now() milestone := time.Now() - ids := getSQLListID64(r.Query) + ids := getSQLListID64(p.Query) if len(ids) > 1 { txt := fmt.Sprintf("Rescanning %d messages.", len(ids)) @@ -219,7 +219,7 @@ func jobRescan(j Job) { } else { err = setJobDone(j.ID64) logOnError(err, "jobRescan : setJobDone(0)") - if r.MsgID64 != 0 || r.ChatID64 != 0 { + if p.MsgID64 != 0 || p.ChatID64 != 0 { m := TGCommand{ Type: commandReplyMsg, Text: "No message processed.",