diff --git a/job.go b/job.go index ee4b1cd..af0439a 100644 --- a/job.go +++ b/job.go @@ -1708,8 +1708,13 @@ func jobGWithdraw(j Job) { ref = hex.EncodeToString(out) + m, err := getObjMsg(j.Trigger) + logOnError(err, "jobGWithdraw : getObjMsg") + + p.CleanupMsg = append(p.CleanupMsg, *m) + b, err = json.Marshal(p) - log.Printf("jobGWithdraw[%d] : %s\n", string(b)) + log.Printf("jobGWithdraw[%d] : %s\n", j.ID64, string(b)) u, err := bot.ChatByID(fmt.Sprintf("%d", p.UserID64)) logOnError(err, "jobGWithdraw : ChatByID")