diff options
author | Wim <wim@42.be> | 2018-03-05 00:43:59 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-03-05 00:43:59 +0100 |
commit | 1ec324354be8133830919fe454f363106410c1e8 (patch) | |
tree | 31a503083dd49b0ce8bd6c80efe8963e321ff2d0 /bridge/telegram | |
parent | 16be6601c82713b7301c0f252887505831132807 (diff) | |
download | matterbridge-msglm-1ec324354be8133830919fe454f363106410c1e8.tar.gz matterbridge-msglm-1ec324354be8133830919fe454f363106410c1e8.tar.bz2 matterbridge-msglm-1ec324354be8133830919fe454f363106410c1e8.zip |
Fix empty messages (telegram)
Diffstat (limited to 'bridge/telegram')
-rw-r--r-- | bridge/telegram/telegram.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/telegram/telegram.go b/bridge/telegram/telegram.go index 466ae29c..967a316b 100644 --- a/bridge/telegram/telegram.go +++ b/bridge/telegram/telegram.go @@ -169,6 +169,7 @@ func (b *Btelegram) handleRecv(updates <-chan tgbotapi.Update) { rmsg.Username = message.From.FirstName } } + rmsg.Text += message.Text // only download avatars if we have a place to upload them (configured mediaserver) if b.General.MediaServerUpload != "" { b.handleDownloadAvatar(message.From.ID, rmsg.Channel) |