From a6ca69862569addf5b6af4f3cbe13d38959c25f6 Mon Sep 17 00:00:00 2001 From: Xyphyn Date: Fri, 18 Aug 2023 18:41:10 -0700 Subject: [PATCH] misc: change unreads when individually marking as read --- src/routes/inbox/InboxItem.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/inbox/InboxItem.svelte b/src/routes/inbox/InboxItem.svelte index 9ed7c319..02e6aed8 100644 --- a/src/routes/inbox/InboxItem.svelte +++ b/src/routes/inbox/InboxItem.svelte @@ -84,6 +84,7 @@ } read = isRead + if ($profile.user) $profile.user.unreads += isRead ? -1 : 1 loading = false }