diff --git a/def.go b/def.go index b327078..515a7ba 100644 --- a/def.go +++ b/def.go @@ -638,6 +638,7 @@ type JobPayloadShopsSlave struct { type JobPayloadGetStash struct { MsgID64 int64 `json:"msg_id"` ChatID64 int64 `json:"chat_id"` + UserID64 int64 `json:"user_id"` ClientID64 []int64 `json:"clients_id"` ClientCount int64 `json:"client_count"` Stock []ChatWarsItems `json:"stock"` diff --git a/job.go b/job.go index 24bd161..98487c2 100644 --- a/job.go +++ b/job.go @@ -2082,7 +2082,7 @@ func jobGetStash(j Job) { fmt.Printf("jobGetStash : Start ..\n") fmt.Printf("jobGetStash : Trigger : %d\n", j.Trigger) - fmt.Printf("jobGetStash : UserID64 : %d\n", j.UserID64) + fmt.Printf("jobGetStash : UserID64 : %d\n", p.UserID64) fmt.Printf("jobGetStash : len(p.ClientID64) : %d\n", len(p.ClientID64)) if j.Trigger > 0 { @@ -2137,6 +2137,7 @@ func jobGetStash(j Job) { clt.Mux.Unlock() } } + p.UserID64 = userID64 setJobCallback(j.ID64, userID64, cacheObjSubType[`msg_exchange_req`]) setJobCallback(j.ID64, userID64, cacheObjSubType[`msg_exchange_ack`]) setJobCallback(j.ID64, userID64, cacheObjSubType[`msg_busy`])