fix: Fix inbox
This commit is contained in:
1 parent
a6f5dce056
commit
39ce616d0d
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -78,7 +78,7 @@ authData.subscribe(async (data) => {
|
||||
auth: data.token,
|
||||
})
|
||||
|
||||
if (!site.my_user) throw Error('Missing user')
|
||||
if (!site?.my_user) throw Error('Missing user')
|
||||
|
||||
user.set({ ...site.my_user.local_user_view, unreads: 0 })
|
||||
|
||||
|
||||
Reference in new issue
Block a user