From 8eedc1256719c97904b4d0dea5b56a6c543923a3 Mon Sep 17 00:00:00 2001 From: timokoesters Date: Sat, 6 Jun 2020 15:23:37 +0200 Subject: [PATCH] fix: edus will not be removed after timeout --- src/database/rooms/edus.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/rooms/edus.rs b/src/database/rooms/edus.rs index 385ed7a..5d04639 100644 --- a/src/database/rooms/edus.rs +++ b/src/database/rooms/edus.rs @@ -162,7 +162,7 @@ impl RoomEdus { }) { // This is an outdated edu (time > timestamp) - self.roomlatestid_roomlatest.remove(outdated_edu)?; + self.roomactiveid_userid.remove(outdated_edu)?; found_outdated = true; }