From eaa75f55e6df32ece681244739918c12fe0567e0 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Fri, 4 Sep 2026 00:51:13 +0300 Subject: [PATCH] oops --- src/stores/users.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/stores/users.js b/src/stores/users.js index dbe0b9d8b..6c40611b1 100644 --- a/src/stores/users.js +++ b/src/stores/users.js @@ -717,6 +717,7 @@ export const useUsersStore = defineStore('users', { }, logout() { const oauth = useOAuthStore() + const locked = this.currentUser.locked // Pause fetching useNotificationsStore().pause() @@ -727,7 +728,7 @@ export const useUsersStore = defineStore('users', { useListsStore().stopFetching() useBookmarkFoldersStore().stopFetching() useChatsStore().stopFetching() - if (this.currentUser.locked) { + if (locked) { useFollowRequestsStore().stopFetching() } @@ -788,7 +789,7 @@ export const useUsersStore = defineStore('users', { useListsStore().startFetching() useBookmarkFoldersStore().startFetching() useChatsStore().startFetching() - if (this.currentUser.locked) { + if (locked) { useFollowRequestsStore().startFetching() } })