feat: implement /keys/changes

This commit is contained in:
timokoesters
2020-07-29 17:37:26 +02:00
parent 0693387769
commit 66bc25fcd3
6 changed files with 96 additions and 50 deletions

View File

@@ -352,7 +352,8 @@ impl RoomEdus {
.ok()?,
))
})
.take_while(|(_, timestamp)| current_timestamp - timestamp > 5 * 60_000) // 5 Minutes
.take_while(|(_, timestamp)| current_timestamp - timestamp > 5 * 60_000)
// 5 Minutes
{
self.userid_lastpresenceupdate.remove(&user_id_bytes)?;