fix fwd msg

This commit is contained in:
shoopea 2019-08-29 20:04:54 +08:00
parent ae36e5e22a
commit 6d3c4ceedf

2
job.go
View File

@ -741,7 +741,7 @@ func jobGDepositForward(j Job) {
if cwm.ItemID64 == p.ItemID64 && cwm.Quantity == p.Quantity {
log.Printf("jobGDepositForward : match (%d / %d).\n", cwm.ItemID64, cwm.Quantity)
clientFwdCWMsg(cwm.Msg.ID64, cwm.Msg.ChatID64, cfg.Bot.Depositchat)
clientFwdCWMsg(j.UserID64, cwm.Msg.ID64, cwm.Msg.ChatID64, cfg.Bot.Depositchat)
err = setJobDone(j.ID64)
logOnError(err, "jobGDeposit : setJobDone")