mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-24 05:46:46 +00:00
Allow xmpp to receive the extra messages when text is empty. #295
This commit is contained in:
@ -166,7 +166,8 @@ func (gw *Gateway) handleMessage(msg config.Message, dest *bridge.Bridge) []*BrM
|
|||||||
dest.Protocol != "slack" &&
|
dest.Protocol != "slack" &&
|
||||||
dest.Protocol != "mattermost" &&
|
dest.Protocol != "mattermost" &&
|
||||||
dest.Protocol != "telegram" &&
|
dest.Protocol != "telegram" &&
|
||||||
dest.Protocol != "matrix" {
|
dest.Protocol != "matrix" &&
|
||||||
|
dest.Protocol != "xmpp" {
|
||||||
if msg.Text == "" {
|
if msg.Text == "" {
|
||||||
return brMsgIDs
|
return brMsgIDs
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user