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 }