summaryrefslogtreecommitdiffstats
path: root/bridge/xmpp
diff options
context:
space:
mode:
authorWim <wim@42.be>2019-06-13 23:22:02 +0200
committerWim <wim@42.be>2019-06-13 23:35:04 +0200
commit6617bd6609993ab70798647620dfbbcff523347e (patch)
tree04d04e1d3930ae5664168ac60b5903c8bd9b6ec2 /bridge/xmpp
parente610fb3201bb233e68d88c1dfcd30d4206e53f22 (diff)
downloadmatterbridge-msglm-6617bd6609993ab70798647620dfbbcff523347e.tar.gz
matterbridge-msglm-6617bd6609993ab70798647620dfbbcff523347e.tar.bz2
matterbridge-msglm-6617bd6609993ab70798647620dfbbcff523347e.zip
Revert xmpp to orig behaviour. Closes #844
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 66368087..c5d5e185 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()
}