aboutsummaryrefslogtreecommitdiff
path: root/telegram/connect.go
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2021-12-05 06:27:14 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2021-12-05 06:27:14 +0300
commit2a1c09fcdd66732e5ec454b828a0cfdc1902250f (patch)
treee794177bd04081d9419035571d5bb7e0c1ca4203 /telegram/connect.go
parent105f5017c35f92a9e2f5398a06cfdd3f1da31bad (diff)
Fix a crash on big emojis
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
}