Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit 1365b63250a0d858c33cbd820f12871825817e5c Author: Wim <wim@42.be> Date: Tue Feb 27 23:38:36 2018 +0000 Make megacheck happy diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index 8b856d9..990d6f3 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -2348 +2345 @@ 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  }