diff options
Diffstat (limited to 'bridge')
-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 } |