diff options
author | Wim <wim@42.be> | 2019-06-14 00:44:31 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2019-06-14 00:44:31 +0200 |
commit | 6e8f535e8b60697606dbec78340a955642c7f0a4 (patch) | |
tree | bb42fbb7336fbd0af3a9e1e0cc893cc78a9e2a7d /bridge/xmpp/xmpp.go | |
parent | 5619a75b05f932bd45c8eb7b32b6db5d1dbfaf93 (diff) | |
download | matterbridge-msglm-6e8f535e8b60697606dbec78340a955642c7f0a4.tar.gz matterbridge-msglm-6e8f535e8b60697606dbec78340a955642c7f0a4.tar.bz2 matterbridge-msglm-6e8f535e8b60697606dbec78340a955642c7f0a4.zip |
Fix logic (xmpp)
Diffstat (limited to 'bridge/xmpp/xmpp.go')
-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 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 } |