test
This commit is contained in:
parent
8c15fa27f6
commit
bf3c440f13
2
bot.go
2
bot.go
@ -144,7 +144,7 @@ func botMsgRescanAll(m *tb.Message) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
p := JobPayloadRescanMsg{
|
p := JobPayloadRescanMsg{
|
||||||
Query: fmt.Sprintf("SELECT o.id FROM obj o WHERE o.obj_type_id = %d AND o.obj_sub_type_id = %d;", objTypeMessage, objSubTypeMessageUnknown),
|
Query: fmt.Sprintf("SELECT o.id FROM obj o WHERE o.obj_type_id = %d AND o.obj_sub_type_id = %d ORDER BY id ASC;", objTypeMessage, objSubTypeMessageUnknown),
|
||||||
MsgID64: int64(m.ID),
|
MsgID64: int64(m.ID),
|
||||||
ChatID64: m.Chat.ID,
|
ChatID64: m.Chat.ID,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user