fix g withdraw

This commit is contained in:
shoopea 2020-01-30 12:42:29 +08:00
parent dec85e812c
commit 75bdda96fa

8
job.go
View File

@ -1575,10 +1575,10 @@ func jobGWithdraw(j Job) {
out := make([]byte, len(in))
c.Decrypt(out, in)
id1, _ := binary.Uvarint(out[:8])
jobID64 := int64(id1)
id2, _ = binary.Uvarint(out[8:16])
userID64 := int64(id2)
uid, _ := binary.Uvarint(out[:8])
jobID64 := int64(uid)
uid, _ = binary.Uvarint(out[8:16])
userID64 := int64(uid)
if jobID64 == j.ID64 {
if userID64 == cwm.Msg.TGSenderUserID64 {