Thumbnail

rani/matterbridge.git

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

commit 367462589d7e363c4b7b3f6c60f178f7e888e3cd Author: Wim <wim@42.be> Date: Sat Jan 27 16:32:38 2018 +0000 Allow xmpp to receive the extra messages when text is empty. #295 diff --git a/gateway/gateway.go b/gateway/gateway.go index a316c34..6535c60 100644 --- a/gateway/gateway.go +++ b/gateway/gateway.go @@ -1667 +1668 @@ func (gw *Gateway) handleMessage(msg config.Message, dest *bridge.Bridge) []*BrM   dest.Protocol != "slack" &&   dest.Protocol != "mattermost" &&   dest.Protocol != "telegram" && - dest.Protocol != "matrix" { + dest.Protocol != "matrix" && + dest.Protocol != "xmpp" {   if msg.Text == "" {   return brMsgIDs   }