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 }