summaryrefslogtreecommitdiffstats
path: root/bridge/xmpp
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/xmpp')
-rw-r--r--bridge/xmpp/xmpp.go5
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
}