test
This commit is contained in:
parent
776c5949c2
commit
e79667d36c
10
job.go
10
job.go
@ -207,12 +207,12 @@ func jobRescan(j Job) {
|
|||||||
SQLMsgIdentifyQueue <- ids[0]
|
SQLMsgIdentifyQueue <- ids[0]
|
||||||
err = setJobDone(j.ID64)
|
err = setJobDone(j.ID64)
|
||||||
logOnError(err, "jobRescan : setJobDone(1)")
|
logOnError(err, "jobRescan : setJobDone(1)")
|
||||||
if r.MsgID64 != 0 || r.ChatID64 != 0 {
|
if p.MsgID64 != 0 || p.ChatID64 != 0 {
|
||||||
m := TGCommand{
|
m := TGCommand{
|
||||||
Type: commandReplyMsg,
|
Type: commandReplyMsg,
|
||||||
Text: "One message processed.",
|
Text: "One message processed.",
|
||||||
FromMsgID64: r.MsgID64,
|
FromMsgID64: p.MsgID64,
|
||||||
FromChatID64: r.ChatID64,
|
FromChatID64: p.ChatID64,
|
||||||
}
|
}
|
||||||
TGCmdQueue <- m
|
TGCmdQueue <- m
|
||||||
}
|
}
|
||||||
@ -223,8 +223,8 @@ func jobRescan(j Job) {
|
|||||||
m := TGCommand{
|
m := TGCommand{
|
||||||
Type: commandReplyMsg,
|
Type: commandReplyMsg,
|
||||||
Text: "No message processed.",
|
Text: "No message processed.",
|
||||||
FromMsgID64: r.MsgID64,
|
FromMsgID64: p.MsgID64,
|
||||||
FromChatID64: r.ChatID64,
|
FromChatID64: p.ChatID64,
|
||||||
}
|
}
|
||||||
TGCmdQueue <- m
|
TGCmdQueue <- m
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user