diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index 586ef183..8257b7de 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -332,5 +332,5 @@ func (b *Bxmpp) skipMessage(message xmpp.Chat) bool { } // skip delayed messages - return !message.Stamp.IsZero() || time.Since(message.Stamp).Minutes() > 5 + return !message.Stamp.IsZero() && time.Since(message.Stamp).Minutes() > 5 }