aboutsummaryrefslogtreecommitdiff
path: root/telegram/connect.go
diff options
context:
space:
mode:
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 e19bda3..2e1af65 100644
--- a/telegram/connect.go
+++ b/telegram/connect.go
@@ -154,6 +154,7 @@ func (c *Client) interactor() {
for {
state, ok := <-c.authorizer.State
if !ok {
+ gateway.SendMessage(c.jid, "", "Interactor is disconnected", c.xmpp)
log.Error("Interactor is disconnected")
return
}