aboutsummaryrefslogtreecommitdiff
path: root/telegram/client.go
diff options
context:
space:
mode:
authorbodqhrohro <bodqhrohro@gmail.com>2019-12-19 23:29:36 +0300
committerbodqhrohro <bodqhrohro@gmail.com>2019-12-19 23:29:36 +0300
commitab914b0ff764de13d5496a12a1315c72dd3376fc (patch)
tree665ce28f6ee101b7c58121390dcae217e57e8786 /telegram/client.go
parent18b5bc09356dd80024ecfd411145b3312b3fa7a1 (diff)
More relogin fixes, prevent crashing by commands when offline
Diffstat (limited to 'telegram/client.go')
-rw-r--r--telegram/client.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/telegram/client.go b/telegram/client.go
index 133f1e6..2acd75e 100644
--- a/telegram/client.go
+++ b/telegram/client.go
@@ -52,6 +52,7 @@ type Client struct {
Session *persistence.Session
content *config.TelegramContentConfig
cache *cache
+ online bool
locks clientLocks
}