Allow xmpp to receive the extra messages when text is empty. #295

This commit is contained in:
Wim 2018-01-27 16:32:38 +01:00
parent 87c9cac756
commit a5c143bc46

View File

@ -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
}