diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2022-02-05 21:54:35 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2022-02-05 21:54:35 +0300 |
commit | 9d84965e8bd22be4ed2acb549f12d43ca43cfc50 (patch) | |
tree | 257be07873d29a8d13fea2bd09757a3187199b6c /telegram/handlers.go | |
parent | 7b90b8e4ae9c138f767641fbfa8ad700e8e27b55 (diff) |
Fix replies to non-text messages
Diffstat (limited to 'telegram/handlers.go')
-rw-r--r-- | telegram/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram/handlers.go b/telegram/handlers.go index 5e01520..1313871 100644 --- a/telegram/handlers.go +++ b/telegram/handlers.go @@ -193,7 +193,7 @@ func (c *Client) updateNewMessage(update *client.UpdateNewMessage) { "chat_id": update.Message.ChatId, }).Warn("New message from chat") - text := c.messageToText(update.Message) + text := c.messageToText(update.Message, false) file, filename := c.contentToFilename(update.Message.Content) // download file(s) |