summaryrefslogtreecommitdiffstats
path: root/bridge/xmpp
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-03-05 00:36:54 +0100
committerWim <wim@42.be>2018-03-05 00:36:54 +0100
commit16be6601c82713b7301c0f252887505831132807 (patch)
treec02233e1ebdd22088db026058fcc9e6547416fce /bridge/xmpp
parent98027446c895de648c65af33f2010c73c752a8da (diff)
downloadmatterbridge-msglm-16be6601c82713b7301c0f252887505831132807.tar.gz
matterbridge-msglm-16be6601c82713b7301c0f252887505831132807.tar.bz2
matterbridge-msglm-16be6601c82713b7301c0f252887505831132807.zip
Fix incorrect skipmessage (xmpp)
Diffstat (limited to 'bridge/xmpp')
-rw-r--r--bridge/xmpp/xmpp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go
index 8dfa22a7..54f54826 100644
--- a/bridge/xmpp/xmpp.go
+++ b/bridge/xmpp/xmpp.go
@@ -234,5 +234,5 @@ func (b *Bxmpp) skipMessage(message xmpp.Chat) bool {
// skip delayed messages
t := time.Time{}
- return message.Stamp == t
+ return message.Stamp != t
}