From f2dc39b2d77d46ad3fb9c20dd8b9b27988dcec77 Mon Sep 17 00:00:00 2001 From: Vladimir Hodakov Date: Thu, 10 Jan 2019 05:35:14 +0400 Subject: [PATCH] Fix lock after first received update --- local/telegram/telegram.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/local/telegram/telegram.go b/local/telegram/telegram.go index 10d4061..298c4e2 100644 --- a/local/telegram/telegram.go +++ b/local/telegram/telegram.go @@ -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 } }