summaryrefslogtreecommitdiffstats
path: root/gateway/gateway.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-01-27 16:32:38 +0100
committerWim <wim@42.be>2018-01-27 16:32:38 +0100
commita5c143bc46f5b501342c0841c272eb3500af7d45 (patch)
tree6997765d4143d68bfd753428c4289a5356159ce0 /gateway/gateway.go
parent87c9cac75618304628f27da299dde79dc3ac6eed (diff)
downloadmatterbridge-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
Diffstat (limited to 'gateway/gateway.go')
-rw-r--r--gateway/gateway.go3
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
}