test clients version
This commit is contained in:
parent
5f6d58255b
commit
fde45dcf2e
4
bot.go
4
bot.go
@ -298,8 +298,8 @@ func botGetClients(m *tb.Message) {
|
||||
clt.Mux.Unlock()
|
||||
muxClients.RLock()
|
||||
ret := fmt.Sprintf("<code>Version %s (%s)\n", githash, buildstamp)
|
||||
for _, c := range clients {
|
||||
chat, err := bot.ChatByID(strconv.FormatInt(c.CWUserID64, 10))
|
||||
for id, c := range clients {
|
||||
chat, err := bot.ChatByID(strconv.FormatInt(id, 10))
|
||||
logOnError(err, "botGetClients : ChatByID")
|
||||
var status string
|
||||
if c.Active {
|
||||
|
Loading…
Reference in New Issue
Block a user