diff options
Diffstat (limited to 'telegram/commands.go')
-rw-r--r-- | telegram/commands.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram/commands.go b/telegram/commands.go index 533c627..558652d 100644 --- a/telegram/commands.go +++ b/telegram/commands.go @@ -206,7 +206,7 @@ func (c *Client) ProcessTransportCommand(cmdline string) string { return notOnline } - for id := range c.cache.chats { + for _, id := range c.cache.ChatsKeys() { c.unsubscribe(id) } |