fix job msg del

This commit is contained in:
shoopea 2020-01-13 17:04:20 +08:00
parent 3a73d6e55a
commit 5ba41ad427

2
job.go
View File

@ -611,7 +611,7 @@ func jobMsgDelete(j Job) {
logOnError(err, "jobMsgDelete : getObjMsg("+strconv.FormatInt(j.Trigger, 10)+")")
clientDelTGMsg(j.UserID64, obj.ID64, obj.ChatID64)
} else {
delay = p.Delay
delay := p.Delay
p.Delay = 0
p.ObjMsgID64 = j.Trigger
b, _ := json.Marshal(p)