From 6e8f535e8b60697606dbec78340a955642c7f0a4 Mon Sep 17 00:00:00 2001 From: Wim Date: Fri, 14 Jun 2019 00:44:31 +0200 Subject: Fix logic (xmpp) --- bridge/xmpp/xmpp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/xmpp') 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 } -- cgit v1.2.3