diff --git a/locales/en-US.yml b/locales/en-US.yml index f34855fcd..7a23d2c99 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -886,7 +886,6 @@ global: "Global" recommended: "Recommended" squareAvatars: "Display squared avatars" seperateRenoteQuote: "Separate boost and quote buttons" -highlightCw: "Highlight content warned posts" sent: "Sent" received: "Received" searchResult: "Search results" diff --git a/packages/backend/src/remote/activitypub/renderer/note.ts b/packages/backend/src/remote/activitypub/renderer/note.ts index 280205eaf..5fe59b3ab 100644 --- a/packages/backend/src/remote/activitypub/renderer/note.ts +++ b/packages/backend/src/remote/activitypub/renderer/note.ts @@ -16,7 +16,7 @@ export default async function renderNote( dive = true, isTalk = false, ): Promise> { - note.visibility = note.visibility === "hidden" ? "home" : note.visibility; + note.visibility = note.visibility === "hidden" ? "home" : note.visibility; const getPromisedFiles = async (ids: string[]) => { if (!ids || ids.length === 0) return []; const items = await DriveFiles.findBy({ id: In(ids) }); diff --git a/packages/backend/src/services/note/create.ts b/packages/backend/src/services/note/create.ts index 721147dd6..2a7b00b0f 100644 --- a/packages/backend/src/services/note/create.ts +++ b/packages/backend/src/services/note/create.ts @@ -606,7 +606,8 @@ export default async ( }); async function renderNoteOrRenoteActivity(data: Option, note: Note) { - if (data.localOnly || note.visibility !== "hidden") return null; + if (data.localOnly || + note.visibility !== "hidden") return null; const content = data.renote && diff --git a/packages/backend/src/services/note/reaction/create.ts b/packages/backend/src/services/note/reaction/create.ts index 277393eb4..9f4ed1375 100644 --- a/packages/backend/src/services/note/reaction/create.ts +++ b/packages/backend/src/services/note/reaction/create.ts @@ -144,7 +144,10 @@ export default async ( }); //#region deliver - if (Users.isLocalUser(user) && !note.localOnly) { + if ( + Users.isLocalUser(user) && + !note.localOnly + ) { const content = renderActivity(await renderLike(record, note)); const dm = new DeliverManager(user, content); if (note.userHost !== null) { diff --git a/packages/client/src/components/MkMenu.vue b/packages/client/src/components/MkMenu.vue index 627933177..e47f32e45 100644 --- a/packages/client/src/components/MkMenu.vue +++ b/packages/client/src/components/MkMenu.vue @@ -13,12 +13,6 @@ >