mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-27 21:22:03 -08:00
parent
8e97cbab1e
commit
53dfb78215
@ -332,5 +332,5 @@ func (b *Bxmpp) skipMessage(message xmpp.Chat) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// skip delayed messages
|
// skip delayed messages
|
||||||
return !message.Stamp.IsZero()
|
return !message.Stamp.IsZero() || time.Since(message.Stamp).Minutes() > 5
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user