2
0
mirror of https://github.com/42wim/matterbridge synced 2024-11-19 03:25:33 +00:00

Fix document bug (telegram)

This commit is contained in:
Wim 2017-11-12 17:15:53 +01:00
parent c0f9d86287
commit 13d081ea80

View File

@ -182,7 +182,7 @@ func (b *Btelegram) handleRecv(updates <-chan tgbotapi.Update) {
b.handleDownload(message.Photo, &fmsg) b.handleDownload(message.Photo, &fmsg)
} }
if message.Document != nil { if message.Document != nil {
b.handleDownload(message.Sticker, &fmsg) b.handleDownload(message.Document, &fmsg)
} }
// quote the previous message // quote the previous message