Use Result for last_notification_read as zero-default not appropriate.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-10-30 03:48:16 +00:00
1 parent 9c5caa3a5f
commit 1f0cfec5ca
3 files changed
+6 -4

No files matched your search

+1
View File
@@ -102,6 +102,7 @@ async fn matcher(
services
.pusher
.last_notification_read(sender_user, &room_id)
.unwrap_or_default()
})
.into();