diff options
-rw-r--r-- | bridge/xmpp/xmpp.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index 9cb6f6ad..0ad7699c 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -166,7 +166,7 @@ func (b *Bxmpp) handleXmpp() error { if len(s) == 2 { nick = s[1] } - if nick != b.Config.Nick && v.Stamp == nodelay && v.Text != "" { + if nick != b.Config.Nick && v.Stamp == nodelay && v.Text != "" && !strings.Contains(v.Text, "</subject>") { rmsg := config.Message{Username: nick, Text: v.Text, Channel: channel, Account: b.Account, UserID: v.Remote} rmsg.Text, ok = b.replaceAction(rmsg.Text) if ok { |