summaryrefslogtreecommitdiffstats
path: root/bridge/telegram/telegram.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-11-12 17:15:53 +0100
committerWim <wim@42.be>2017-11-12 17:15:53 +0100
commit13d081ea80203ba6ec2da03200fbaac8131e5696 (patch)
treeaef38791123ace947a52768f8668b91c1ba5db4b /bridge/telegram/telegram.go
parentc0f9d86287e052044f6e9f691ca34820685fe3ad (diff)
downloadmatterbridge-msglm-13d081ea80203ba6ec2da03200fbaac8131e5696.tar.gz
matterbridge-msglm-13d081ea80203ba6ec2da03200fbaac8131e5696.tar.bz2
matterbridge-msglm-13d081ea80203ba6ec2da03200fbaac8131e5696.zip
Fix document bug (telegram)
Diffstat (limited to 'bridge/telegram/telegram.go')
-rw-r--r--bridge/telegram/telegram.go2
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