fix compilation

This commit is contained in:
shoopea 2020-01-13 16:33:00 +08:00
parent 48e359f19d
commit 34edcd5fc0

2
job.go
View File

@ -613,7 +613,7 @@ func jobMsgDelete(j Job) {
} }
} else if p.ObjMsgID64 != 0 { } else if p.ObjMsgID64 != 0 {
if p.Delay == 0 { if p.Delay == 0 {
obj, err = getObjMsg(j.Trigger) obj, err := getObjMsg(j.Trigger)
clientDelTGMsg(j.UserID64, obj.ID64, obj.ChatID64) clientDelTGMsg(j.UserID64, obj.ID64, obj.ChatID64)
} else { } else {
b, _ := json.Marshal(p) b, _ := json.Marshal(p)