From 1ec324354be8133830919fe454f363106410c1e8 Mon Sep 17 00:00:00 2001 From: Wim Date: Mon, 5 Mar 2018 00:43:59 +0100 Subject: Fix empty messages (telegram) --- bridge/telegram/telegram.go | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3