diff options
author | Wim <wim@42.be> | 2018-02-27 23:38:36 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-02-27 23:38:36 +0100 |
commit | 20dbd713068347ba9a025e02fb0a101e07e6982c (patch) | |
tree | e0185625ceb5ca28793838b4fc5d0a849fcc6eb4 /bridge/xmpp/xmpp.go | |
parent | 6a727b9723a1e0b708ac2b5f406a599d086bb0ce (diff) | |
download | matterbridge-msglm-20dbd713068347ba9a025e02fb0a101e07e6982c.tar.gz matterbridge-msglm-20dbd713068347ba9a025e02fb0a101e07e6982c.tar.bz2 matterbridge-msglm-20dbd713068347ba9a025e02fb0a101e07e6982c.zip |
Make megacheck happy
Diffstat (limited to 'bridge/xmpp/xmpp.go')
-rw-r--r-- | bridge/xmpp/xmpp.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index 8b856d93..990d6f3b 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -234,8 +234,5 @@ func (b *Bxmpp) skipMessage(message xmpp.Chat) bool { // skip delayed messages t := time.Time{} - if message.Stamp == t { - return true - } - return false + return message.Stamp == t } |