fix unnecessary re-serializations

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-10-09 03:37:13 +00:00 committed by strawberry
parent 8eec78e9e0
commit 814b9e28b6
7 changed files with 9 additions and 11 deletions

View file

@ -94,6 +94,6 @@ impl Data {
}
pub(super) async fn is_event_soft_failed(&self, event_id: &EventId) -> bool {
self.softfailedeventids.qry(event_id).await.is_ok()
self.softfailedeventids.get(event_id).await.is_ok()
}
}