diff --git a/packages/frontend/src/pages/settings/privacy.vue b/packages/frontend/src/pages/settings/privacy.vue
index 13db852e6a4e..d418be624ef2 100644
--- a/packages/frontend/src/pages/settings/privacy.vue
+++ b/packages/frontend/src/pages/settings/privacy.vue
@@ -43,10 +43,6 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.makeExplorable }}
@@ -103,7 +99,6 @@ const defaultNoteVisibility = computed(defaultStore.makeGetterSetter('defaultNot
const defaultNoteLocalOnly = computed(defaultStore.makeGetterSetter('defaultNoteLocalOnly'));
const rememberNoteVisibility = computed(defaultStore.makeGetterSetter('rememberNoteVisibility'));
const keepCw = computed(defaultStore.makeGetterSetter('keepCw'));
-const keepOriginalFilename = computed(defaultStore.makeGetterSetter('keepOriginalFilename'));
function save() {
misskeyApi('i/update', {
diff --git a/packages/frontend/src/pages/timeline.vue b/packages/frontend/src/pages/timeline.vue
index 1aaebad710a4..32f6dd0e5a6c 100644
--- a/packages/frontend/src/pages/timeline.vue
+++ b/packages/frontend/src/pages/timeline.vue
@@ -23,7 +23,6 @@ SPDX-License-Identifier: AGPL-3.0-only
:withRenotes="withRenotes"
:withReplies="withReplies"
:onlyFiles="onlyFiles"
- :onlyLocal="onlyLocal"
:sound="true"
@queue="queueUpdated"
/>
@@ -53,7 +52,7 @@ import { deviceKind } from '@/scripts/device-kind.js';
import { deepMerge } from '@/scripts/merge.js';
import { MenuItem } from '@/types/menu.js';
import { miLocalStorage } from '@/local-storage.js';
-import { availableBasicTimelines, hasWithReplies, isAvailableBasicTimeline, isBasicTimeline, basicTimelineIconClass, hasLocalOnly } from '@/timelines.js';
+import { availableBasicTimelines, hasWithReplies, isAvailableBasicTimeline, isBasicTimeline, basicTimelineIconClass } from '@/timelines.js';
provide('shouldOmitHeaderTitle', true);
@@ -115,11 +114,6 @@ const withSensitive = computed({
set: (x) => saveTlFilter('withSensitive', x),
});
-const onlyLocal = computed({
- get: () => defaultStore.reactiveState.tl.value.filter.onlyLocal,
- set: (x) => saveTlFilter('onlyLocal', x),
-});
-
watch(src, () => {
queue.value = 0;
});
@@ -266,11 +260,7 @@ const headerActions = computed(() => {
text: i18n.ts.fileAttachedOnly,
ref: onlyFiles,
disabled: isBasicTimeline(src.value) && hasWithReplies(src.value) ? withReplies : false,
- }, isBasicTimeline(src.value) && hasLocalOnly(src.value) ? {
- type: 'switch',
- text: i18n.ts.localOnly,
- ref: onlyLocal,
- } : undefined], ev.currentTarget ?? ev.target);
+ }], ev.currentTarget ?? ev.target);
},
},
];
diff --git a/packages/frontend/src/store.ts b/packages/frontend/src/store.ts
index 0f3bd361391f..437314074a0c 100644
--- a/packages/frontend/src/store.ts
+++ b/packages/frontend/src/store.ts
@@ -132,10 +132,6 @@ export const defaultStore = markRaw(new Storage('base', {
where: 'account',
default: [] as string[],
},
- showLocalTimelineBelowPublic: {
- where: 'account',
- default: false,
- },
menu: {
where: 'deviceAccount',
@@ -194,7 +190,6 @@ export const defaultStore = markRaw(new Storage('base', {
withRenotes: true,
withSensitive: true,
onlyFiles: false,
- onlyLocal: false,
},
},
},
diff --git a/packages/frontend/src/timelines.ts b/packages/frontend/src/timelines.ts
index 47dcd10b1aee..94eda3545e1f 100644
--- a/packages/frontend/src/timelines.ts
+++ b/packages/frontend/src/timelines.ts
@@ -54,7 +54,3 @@ export function availableBasicTimelines(): BasicTimelineType[] {
export function hasWithReplies(timeline: BasicTimelineType | undefined | null): boolean {
return timeline === 'local' || timeline === 'social';
}
-
-export function hasLocalOnly(timeline: BasicTimelineType | undefined | null): boolean {
- return timeline === 'home' || timeline === 'social';
-}
diff --git a/packages/frontend/src/ui/deck/deck-store.ts b/packages/frontend/src/ui/deck/deck-store.ts
index 14cfa284e77a..eb587554b97c 100644
--- a/packages/frontend/src/ui/deck/deck-store.ts
+++ b/packages/frontend/src/ui/deck/deck-store.ts
@@ -50,7 +50,6 @@ export type Column = {
withRenotes?: boolean;
withReplies?: boolean;
onlyFiles?: boolean;
- onlyLocal?: boolean;
soundSetting: SoundStore;
};
diff --git a/packages/frontend/src/ui/deck/tl-column.vue b/packages/frontend/src/ui/deck/tl-column.vue
index 765fa9c99d0d..e210ee7b7a2c 100644
--- a/packages/frontend/src/ui/deck/tl-column.vue
+++ b/packages/frontend/src/ui/deck/tl-column.vue
@@ -20,12 +20,11 @@ SPDX-License-Identifier: AGPL-3.0-only
@@ -39,7 +38,7 @@ import type { MenuItem } from '@/types/menu.js';
import MkTimeline from '@/components/MkTimeline.vue';
import * as os from '@/os.js';
import { i18n } from '@/i18n.js';
-import { hasWithReplies, isAvailableBasicTimeline, basicTimelineIconClass, hasLocalOnly } from '@/timelines.js';
+import { hasWithReplies, isAvailableBasicTimeline, basicTimelineIconClass } from '@/timelines.js';
import { instance } from '@/instance.js';
import { SoundStore } from '@/store.js';
import { soundSettingsButton } from '@/ui/deck/tl-note-notification.js';
@@ -56,7 +55,6 @@ const soundSetting = ref(props.column.soundSetting ?? { type: null,
const withRenotes = ref(props.column.withRenotes ?? true);
const withReplies = ref(props.column.withReplies ?? false);
const onlyFiles = ref(props.column.onlyFiles ?? false);
-const onlyLocal = ref(props.column.onlyLocal ?? false);
watch(withRenotes, v => {
updateColumn(props.column.id, {
@@ -76,12 +74,6 @@ watch(onlyFiles, v => {
});
});
-watch(onlyLocal, v => {
- updateColumn(props.column.id, {
- onlyLocal: v,
- });
-});
-
watch(soundSetting, v => {
updateColumn(props.column.id, { soundSetting: v });
});
@@ -143,11 +135,7 @@ const menu = computed