Fix lock after first received update
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user