diff --git a/client.go b/client.go index f0e0092..0416eff 100644 --- a/client.go +++ b/client.go @@ -33,7 +33,7 @@ func loadClients() error { copier.Copy(&cx, &c) cx.Active = false clients[cx.TGUserID64] = &cx - log.Printf("loadClients[%s] : %p\n", cx.Login, &cx) + log.Printf("loadClients[%s] : done\n") } muxClients.Unlock() diff --git a/job.go b/job.go index f7815a3..0799c64 100644 --- a/job.go +++ b/job.go @@ -1587,6 +1587,14 @@ func jobGWithdraw(j Job) { c.Encrypt(out, in) 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)) }