mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-06-27 06:14:51 +02:00
fix: overflow
This commit is contained in:
parent
a8231eef25
commit
a961732f5f
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ impl RoomEdus {
|
||||||
.ok()?,
|
.ok()?,
|
||||||
))
|
))
|
||||||
})
|
})
|
||||||
.take_while(|(_, timestamp)| current_timestamp - timestamp > 5 * 60_000)
|
.take_while(|(_, timestamp)| current_timestamp.saturating_sub(*timestamp) > 5 * 60_000)
|
||||||
// 5 Minutes
|
// 5 Minutes
|
||||||
{
|
{
|
||||||
// Send new presence events to set the user offline
|
// Send new presence events to set the user offline
|
||||||
|
|
Loading…
Add table
Reference in a new issue