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
@ -173,9 +173,9 @@ export default async (
|
|||||||
data: Option,
|
data: Option,
|
||||||
silent = false,
|
silent = false,
|
||||||
) =>
|
) =>
|
||||||
// rome-ignore lint/suspicious/noAsyncPromiseExecutor: FIXME
|
// biome-ignore lint/suspicious/noAsyncPromiseExecutor: FIXME
|
||||||
new Promise<Note>(async (res, rej) => {
|
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.
|
// 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.)
|
// 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 New Issue
Block a user