fix: ♻️ add data.localOnly back to dontFederateInitially check
ref: https://git.joinfirefish.org/firefish/firefish/-/merge_requests/10639#note_2651
This commit is contained in:
parent
8ef1130330
commit
31ccedf177
1 changed files with 2 additions and 2 deletions
|
@ -173,9 +173,9 @@ export default async (
|
|||
data: Option,
|
||||
silent = false,
|
||||
) =>
|
||||
// rome-ignore lint/suspicious/noAsyncPromiseExecutor: FIXME
|
||||
// biome-ignore lint/suspicious/noAsyncPromiseExecutor: FIXME
|
||||
new Promise<Note>(async (res, rej) => {
|
||||
const dontFederateInitially = data.visibility?.startsWith("hidden") === true;
|
||||
const dontFederateInitially = data.localOnly || 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.)
|
||||
|
|
Loading…
Reference in a new issue