1
0
Fork 1
mirror of https://example.com synced 2024-11-23 04:46:40 +09:00

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
Signed by: naskya
GPG key ID: 164DFF24E2D40139

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.)