Revert "fix: ♻️ add data.localOnly back to dontFederateInitially check"

Closes #10817

This reverts commit 31ccedf177.
This commit is contained in:
naskya 2023-11-29 00:48:10 +09:00
parent 173a78a90b
commit b87a28622a
No known key found for this signature in database
GPG Key ID: 164DFF24E2D40139
1 changed files with 1 additions and 2 deletions

View File

@ -175,8 +175,7 @@ export default async (
) =>
// biome-ignore lint/suspicious/noAsyncPromiseExecutor: FIXME
new Promise<Note>(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.)