fix
This commit is contained in:
parent
5db50c1d33
commit
93b29aab43
8
job.go
8
job.go
@ -1587,15 +1587,13 @@ func jobGWithdraw(j Job) {
|
|||||||
c.Encrypt(out, in)
|
c.Encrypt(out, in)
|
||||||
ref := hex.EncodeToString(out)
|
ref := hex.EncodeToString(out)
|
||||||
|
|
||||||
c := TGCommand{
|
cmd := TGCommand{
|
||||||
Type: commandReplyMsg,
|
Type: commandReplyMsg,
|
||||||
Text: fmt.Sprintf("/withdraw_%s", ref),
|
Text: fmt.Sprintf("/withdraw_%s", string(ref)),
|
||||||
FromMsgID64: p.MsgID64,
|
FromMsgID64: p.MsgID64,
|
||||||
FromChatID64: pChatID64,
|
FromChatID64: pChatID64,
|
||||||
}
|
}
|
||||||
TGCmdQueue <- c
|
TGCmdQueue <- cmd
|
||||||
|
|
||||||
log.Printf("jobGWithdraw[%d] : got all the info for ref %s\n", j.ID64, string(ref))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
err = setJobDone(j.ID64)
|
err = setJobDone(j.ID64)
|
||||||
|
Loading…
Reference in New Issue
Block a user