fix fwd msg
This commit is contained in:
parent
ae36e5e22a
commit
6d3c4ceedf
2
job.go
2
job.go
@ -741,7 +741,7 @@ func jobGDepositForward(j Job) {
|
|||||||
|
|
||||||
if cwm.ItemID64 == p.ItemID64 && cwm.Quantity == p.Quantity {
|
if cwm.ItemID64 == p.ItemID64 && cwm.Quantity == p.Quantity {
|
||||||
log.Printf("jobGDepositForward : match (%d / %d).\n", cwm.ItemID64, cwm.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)
|
err = setJobDone(j.ID64)
|
||||||
logOnError(err, "jobGDeposit : setJobDone")
|
logOnError(err, "jobGDeposit : setJobDone")
|
||||||
|
Loading…
Reference in New Issue
Block a user