This commit is contained in:
shoopea 2019-06-14 12:19:28 +08:00
parent e79667d36c
commit 3989da0c4c

4
job.go
View File

@ -162,7 +162,7 @@ func jobRescan(j Job) {
start := time.Now() start := time.Now()
milestone := time.Now() milestone := time.Now()
ids := getSQLListID64(r.Query) ids := getSQLListID64(p.Query)
if len(ids) > 1 { if len(ids) > 1 {
txt := fmt.Sprintf("Rescanning %d messages.", len(ids)) txt := fmt.Sprintf("Rescanning %d messages.", len(ids))
@ -219,7 +219,7 @@ func jobRescan(j Job) {
} else { } else {
err = setJobDone(j.ID64) err = setJobDone(j.ID64)
logOnError(err, "jobRescan : setJobDone(0)") logOnError(err, "jobRescan : setJobDone(0)")
if r.MsgID64 != 0 || r.ChatID64 != 0 { if p.MsgID64 != 0 || p.ChatID64 != 0 {
m := TGCommand{ m := TGCommand{
Type: commandReplyMsg, Type: commandReplyMsg,
Text: "No message processed.", Text: "No message processed.",