From a5c143bc46f5b501342c0841c272eb3500af7d45 Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 27 Jan 2018 16:32:38 +0100 Subject: Allow xmpp to receive the extra messages when text is empty. #295 --- gateway/gateway.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } -- cgit v1.2.3