From 13d081ea80203ba6ec2da03200fbaac8131e5696 Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 12 Nov 2017 17:15:53 +0100 Subject: [PATCH] Fix document bug (telegram) --- bridge/telegram/telegram.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/telegram/telegram.go b/bridge/telegram/telegram.go index 19d40c30..2b815d94 100644 --- a/bridge/telegram/telegram.go +++ b/bridge/telegram/telegram.go @@ -182,7 +182,7 @@ func (b *Btelegram) handleRecv(updates <-chan tgbotapi.Update) { b.handleDownload(message.Photo, &fmsg) } if message.Document != nil { - b.handleDownload(message.Sticker, &fmsg) + b.handleDownload(message.Document, &fmsg) } // quote the previous message