diff options
author | Wim <wim@42.be> | 2018-01-27 16:32:38 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-01-27 16:32:38 +0100 |
commit | a5c143bc46f5b501342c0841c272eb3500af7d45 (patch) | |
tree | 6997765d4143d68bfd753428c4289a5356159ce0 | |
parent | 87c9cac75618304628f27da299dde79dc3ac6eed (diff) | |
download | matterbridge-msglm-a5c143bc46f5b501342c0841c272eb3500af7d45.tar.gz matterbridge-msglm-a5c143bc46f5b501342c0841c272eb3500af7d45.tar.bz2 matterbridge-msglm-a5c143bc46f5b501342c0841c272eb3500af7d45.zip |
Allow xmpp to receive the extra messages when text is empty. #295
-rw-r--r-- | gateway/gateway.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gateway/gateway.go b/gateway/gateway.go index a316c34d..6535c60c 100644 --- a/gateway/gateway.go +++ b/gateway/gateway.go @@ -166,7 +166,8 @@ 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 } |