aboutsummaryrefslogtreecommitdiff
path: root/telegram/connect.go
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2021-12-05 06:32:12 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2021-12-05 06:32:12 +0300
commitad6e92e6d602c40e4bd44be785e00f563393192a (patch)
tree7643e15f36113bb4a1a861b80a921628f7c7d10a /telegram/connect.go
parent2a1c09fcdd66732e5ec454b828a0cfdc1902250f (diff)
Lower the interactor error to warning
Diffstat (limited to 'telegram/connect.go')
-rw-r--r--telegram/connect.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/telegram/connect.go b/telegram/connect.go
index 2e1af65..701de29 100644
--- a/telegram/connect.go
+++ b/telegram/connect.go
@@ -154,8 +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")
+ log.Warn("Interactor is disconnected")
return
}