Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit 081a32c6572901b6439e83d31de645f83c2684fc Author: Wim <wim@42.be> Date: Mon Mar 05 00:43:59 2018 +0000 Fix empty messages (telegram) diff --git a/bridge/telegram/telegram.go b/bridge/telegram/telegram.go index 466ae29..967a316 100644 --- a/bridge/telegram/telegram.go +++ b/bridge/telegram/telegram.go @@ -1696 +1697 @@ 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)