1

Fix lock after first received update

This commit is contained in:
Vladimir Hodakov 2019-01-10 05:35:14 +04:00
parent 86ddbb26f8
commit f2dc39b2d7
Signed by: Vladimir Hodakov
GPG Key ID: 673980B6882F82C6

View File

@ -81,9 +81,6 @@ func Connect() {
log.Debug().Msg("Connection with Telegram established")
for update := range rawUpdates {
log.Debug().Msgf("Update of type %s received", update.Data["@type"])
<-c.ShutdownDone
return
}
}