mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-08-11 06:28:09 +00:00
Fix document bug (telegram)
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user