Fix local-only posts for timeline websocket stream
This commit is contained in:
parent
69f802e15b
commit
29bb1453fc
@ -171,8 +171,7 @@ export default async (
|
||||
) =>
|
||||
// rome-ignore lint/suspicious/noAsyncPromiseExecutor: FIXME
|
||||
new Promise<Note>(async (res, rej) => {
|
||||
const dontFederateInitially =
|
||||
data.localOnly || data.visibility?.startsWith("hidden");
|
||||
const dontFederateInitially = data.visibility === "hidden";
|
||||
|
||||
// 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 New Issue
Block a user