summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-03-05 00:43:59 +0100
committerWim <wim@42.be>2018-03-05 00:43:59 +0100
commit1ec324354be8133830919fe454f363106410c1e8 (patch)
tree31a503083dd49b0ce8bd6c80efe8963e321ff2d0
parent16be6601c82713b7301c0f252887505831132807 (diff)
downloadmatterbridge-msglm-1ec324354be8133830919fe454f363106410c1e8.tar.gz
matterbridge-msglm-1ec324354be8133830919fe454f363106410c1e8.tar.bz2
matterbridge-msglm-1ec324354be8133830919fe454f363106410c1e8.zip
Fix empty messages (telegram)
-rw-r--r--bridge/telegram/telegram.go1
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)