aboutsummaryrefslogtreecommitdiff
path: root/telegram/connect.go
diff options
context:
space:
mode:
authorbodqhrohro <bodqhrohro@gmail.com>2019-12-19 00:00:23 +0300
committerbodqhrohro <bodqhrohro@gmail.com>2019-12-19 00:00:23 +0300
commit18b5bc09356dd80024ecfd411145b3312b3fa7a1 (patch)
tree3f9c8be21d21eee61be6a00d62bbc77dd514fbd3 /telegram/connect.go
parent05a9aca537a9420244860374da6b56731f483637 (diff)
Relogin fix
Diffstat (limited to 'telegram/connect.go')
-rw-r--r--telegram/connect.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/telegram/connect.go b/telegram/connect.go
index 3a711c2..af97b02 100644
--- a/telegram/connect.go
+++ b/telegram/connect.go
@@ -207,6 +207,7 @@ func (c *Client) interactor() {
func (c *Client) forceClose() {
c.listener.Close()
+ c.authorizer = nil
}
// Online checks if the updates listener is alive