Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit 301f5a769b229f70ebe9ffe09c11d244be52db70 Author: Wim <wim@42.be> Date: Sun Nov 12 17:15:53 2017 +0000 Fix document bug (telegram) diff --git a/bridge/telegram/telegram.go b/bridge/telegram/telegram.go index 19d40c3..2b815d9 100644 --- a/bridge/telegram/telegram.go +++ b/bridge/telegram/telegram.go @@ -1827 +1827 @@ 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