diff options
author | Wim <wim@42.be> | 2017-11-12 17:15:53 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2017-11-12 17:15:53 +0100 |
commit | 13d081ea80203ba6ec2da03200fbaac8131e5696 (patch) | |
tree | aef38791123ace947a52768f8668b91c1ba5db4b /bridge | |
parent | c0f9d86287e052044f6e9f691ca34820685fe3ad (diff) | |
download | matterbridge-msglm-13d081ea80203ba6ec2da03200fbaac8131e5696.tar.gz matterbridge-msglm-13d081ea80203ba6ec2da03200fbaac8131e5696.tar.bz2 matterbridge-msglm-13d081ea80203ba6ec2da03200fbaac8131e5696.zip |
Fix document bug (telegram)
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/telegram/telegram.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |