diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index 6a291c5ad..ff8be63ca 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -142,7 +142,11 @@ func (b *Bxmpp) Send(msg config.Message) (string, error) { } } - // Post normal message. + // Post normal message, if it's not empty. + if msg.Text == "" { + return "", nil + } + b.Log.Debugf("=> Sending message %#v", msg) if _, err := b.xc.Send(xmpp.Chat{ Type: "groupchat",