test
This commit is contained in:
parent
3354a118e3
commit
27f43cc95e
5
job.go
5
job.go
@ -398,13 +398,14 @@ func jobRescan(j Job) {
|
||||
start := time.Now()
|
||||
milestone := time.Now()
|
||||
|
||||
log.Printf("jobRescan : getting message list")
|
||||
ids := getSQLListID64(p.Query)
|
||||
log.Printf("jobRescan : %d messages.", len(ids))
|
||||
|
||||
if len(ids) > 1 {
|
||||
txt := fmt.Sprintf("Rescanning %d messages.", len(ids))
|
||||
m := TGCommand{
|
||||
Type: commandReplyMsg,
|
||||
Text: txt,
|
||||
Text: fmt.Sprintf("Rescanning %d messages.", len(ids)),
|
||||
FromMsgID64: p.MsgID64,
|
||||
FromChatID64: p.ChatID64,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user