X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/d8f3785bb69288663f4cc46bf4d609c6770452d5..3aa065806f87d0876fbd7b05e5ded4aad380cc73:/telegram.go?ds=sidebyside diff --git a/telegram.go b/telegram.go index e3e33c9..306f8f5 100644 --- a/telegram.go +++ b/telegram.go @@ -349,7 +349,8 @@ func (b *TelegramBot) next() (Event, bool) { // typing shows the typing action once. A failure is not logged, because the // next message or poll logs the state of the network. func (b *TelegramBot) typing(ctx context.Context) { - _ = b.api.SendTyping(ctx, b.owner) + // The next message or poll reports a network failure. + b.api.SendTyping(ctx, b.owner) // nolint: errcheck } // post sends event to the chat. A reply goes as rich messages of its Markdown,