diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index c5d5e185..586ef183 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() + return !message.Stamp.IsZero() || time.Since(message.Stamp).Minutes() > 5 }