fix msg delete job
This commit is contained in:
parent
9d7d962c28
commit
8603af3768
1
job.go
1
job.go
@ -624,6 +624,7 @@ func jobMsgDelete(j Job) {
|
||||
logOnError(err, "jobMsgDelete : getObjMsg("+strconv.FormatInt(j.Trigger, 10)+")")
|
||||
clientDelTGMsg(j.UserID64, obj.ID64, obj.ChatID64)
|
||||
} else {
|
||||
p.Delay = 0
|
||||
b, _ := json.Marshal(p)
|
||||
_, err = createJob(cacheObjSubType[`job_msg_del`], objJobPriority, j.UserID64, 0, time.Now().Add(p.Delay).UTC(), b)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user