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
|
// rome-ignore lint/suspicious/noAsyncPromiseExecutor: FIXME
|
||||||
new Promise<Note>(async (res, rej) => {
|
new Promise<Note>(async (res, rej) => {
|
||||||
const dontFederateInitially =
|
const dontFederateInitially = data.visibility === "hidden";
|
||||||
data.localOnly || data.visibility?.startsWith("hidden");
|
|
||||||
|
|
||||||
// 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