fix g withdraw
This commit is contained in:
parent
dec85e812c
commit
75bdda96fa
8
job.go
8
job.go
@ -1575,10 +1575,10 @@ func jobGWithdraw(j Job) {
|
|||||||
out := make([]byte, len(in))
|
out := make([]byte, len(in))
|
||||||
|
|
||||||
c.Decrypt(out, in)
|
c.Decrypt(out, in)
|
||||||
id1, _ := binary.Uvarint(out[:8])
|
uid, _ := binary.Uvarint(out[:8])
|
||||||
jobID64 := int64(id1)
|
jobID64 := int64(uid)
|
||||||
id2, _ = binary.Uvarint(out[8:16])
|
uid, _ = binary.Uvarint(out[8:16])
|
||||||
userID64 := int64(id2)
|
userID64 := int64(uid)
|
||||||
|
|
||||||
if jobID64 == j.ID64 {
|
if jobID64 == j.ID64 {
|
||||||
if userID64 == cwm.Msg.TGSenderUserID64 {
|
if userID64 == cwm.Msg.TGSenderUserID64 {
|
||||||
|
Loading…
Reference in New Issue
Block a user