mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-13 13:37:31 -07:00
Fix local-only posts for timeline websocket stream, resolves #19
This commit is contained in:
parent
e1376b1c29
commit
04a1bd9363
1 changed files with 1 additions and 2 deletions
|
@ -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 === "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 a new issue