From b87a28622a8933920ba6339f9eefaf27882402c3 Mon Sep 17 00:00:00 2001 From: naskya Date: Wed, 29 Nov 2023 00:48:10 +0900 Subject: [PATCH] Revert "fix: :recycle: add data.localOnly back to dontFederateInitially check" Closes #10817 This reverts commit 31ccedf1776f5a3c19940fe53a2647b8cbb0d7d1. --- packages/backend/src/services/note/create.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/backend/src/services/note/create.ts b/packages/backend/src/services/note/create.ts index 8e496928c2..46ca2061fd 100644 --- a/packages/backend/src/services/note/create.ts +++ b/packages/backend/src/services/note/create.ts @@ -175,8 +175,7 @@ export default async ( ) => // biome-ignore lint/suspicious/noAsyncPromiseExecutor: FIXME new Promise(async (res, rej) => { - const dontFederateInitially = - data.localOnly || data.visibility?.startsWith("hidden") === true; + const dontFederateInitially = data.visibility?.startsWith("hidden") === true; // If you reply outside the channel, match the scope of the target. // TODO (I think it's a process that could be done on the client side, but it's server side for now.)