diff --git a/packages/frontend/src/pages/settings/preferences-backups.vue b/packages/frontend/src/pages/settings/preferences-backups.vue index 3e91f44509bf..9c10279426c6 100644 --- a/packages/frontend/src/pages/settings/preferences-backups.vue +++ b/packages/frontend/src/pages/settings/preferences-backups.vue @@ -60,7 +60,6 @@ const defaultStoreSaveKeys: (keyof typeof defaultStore['state'])[] = [ 'localOnly', 'widgets', 'tl', - 'pinnedUserLists', 'timelineTabs', 'overridedDeviceKind', 'serverDisconnectedBehavior', diff --git a/packages/frontend/src/pages/timeline.vue b/packages/frontend/src/pages/timeline.vue index 184045ebe7f6..1949ccdbb793 100644 --- a/packages/frontend/src/pages/timeline.vue +++ b/packages/frontend/src/pages/timeline.vue @@ -202,12 +202,6 @@ async function chooseChannel(ev: MouseEvent): Promise { function saveSrc(newSrc: TimelinePageSrc): void { const out = deepMerge({ src: newSrc }, defaultStore.state.tl); - - if (newSrc.startsWith('userList:')) { - const id = newSrc.substring('userList:'.length); - out.userList = defaultStore.reactiveState.pinnedUserLists.value.find(l => l.id === id) ?? null; - } - defaultStore.set('tl', out); } diff --git a/packages/frontend/src/store.ts b/packages/frontend/src/store.ts index c9f227fd3a77..80b30df9f5c4 100644 --- a/packages/frontend/src/store.ts +++ b/packages/frontend/src/store.ts @@ -136,7 +136,6 @@ export const defaultStore = markRaw(new Storage('base', { where: 'deviceAccount', default: { src: 'home' as 'home' | 'local' | 'social' | 'global' | `list:${string}`, - userList: null as UserList | null, filter: { withReplies: true, withRenotes: true, @@ -145,10 +144,6 @@ export const defaultStore = markRaw(new Storage('base', { }, }, }, - pinnedUserLists: { - where: 'deviceAccount', - default: [] as UserList[], - }, timelineTabs: { where: 'deviceAccount', default: [