test
This commit is contained in:
parent
4bb256e11f
commit
5db50c1d33
@ -33,7 +33,7 @@ func loadClients() error {
|
|||||||
copier.Copy(&cx, &c)
|
copier.Copy(&cx, &c)
|
||||||
cx.Active = false
|
cx.Active = false
|
||||||
clients[cx.TGUserID64] = &cx
|
clients[cx.TGUserID64] = &cx
|
||||||
log.Printf("loadClients[%s] : %p\n", cx.Login, &cx)
|
log.Printf("loadClients[%s] : done\n")
|
||||||
}
|
}
|
||||||
muxClients.Unlock()
|
muxClients.Unlock()
|
||||||
|
|
||||||
|
8
job.go
8
job.go
@ -1587,6 +1587,14 @@ func jobGWithdraw(j Job) {
|
|||||||
c.Encrypt(out, in)
|
c.Encrypt(out, in)
|
||||||
ref := hex.EncodeToString(out)
|
ref := hex.EncodeToString(out)
|
||||||
|
|
||||||
|
c := TGCommand{
|
||||||
|
Type: commandReplyMsg,
|
||||||
|
Text: fmt.Sprintf("/withdraw_%s", ref),
|
||||||
|
FromMsgID64: p.MsgID64,
|
||||||
|
FromChatID64: pChatID64,
|
||||||
|
}
|
||||||
|
TGCmdQueue <- c
|
||||||
|
|
||||||
log.Printf("jobGWithdraw[%d] : got all the info for ref %s\n", j.ID64, string(ref))
|
log.Printf("jobGWithdraw[%d] : got all the info for ref %s\n", j.ID64, string(ref))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user