From 47a170cf4799f251842cfa8bca7aa6a1c4d3b33c Mon Sep 17 00:00:00 2001 From: naskya Date: Fri, 16 Feb 2024 03:55:31 +0900 Subject: [PATCH] chore: make nsfw setting deviceAccount --- docs/changelog.md | 1 + packages/client/src/store.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog.md b/docs/changelog.md index 7700b57930..29ee0ac2dc 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,6 +2,7 @@ - add ability to specify the search engine used in the search bar MFM - remove auto NSFW media detection +- the "Hide NSFW media" config is now per device and per account # v20240216 diff --git a/packages/client/src/store.ts b/packages/client/src/store.ts index 260cbfe17d..cb7bcff675 100644 --- a/packages/client/src/store.ts +++ b/packages/client/src/store.ts @@ -173,7 +173,7 @@ export const defaultStore = markRaw( default: true, }, nsfw: { - where: "device", + where: "deviceAccount", default: "respect" as "respect" | "force" | "ignore", }, animation: {