1
0
Fork 1
mirror of https://example.com synced 2024-11-22 22:46:38 +09:00

fix: show local-only posts in timelines in real time

This commit is contained in:
naskya 2023-11-18 10:52:28 +09:00
parent 4c445bf590
commit 14d32d420f
Signed by: naskya
GPG key ID: 164DFF24E2D40139

View file

@ -172,7 +172,7 @@ export default async (
// biome-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 = const dontFederateInitially =
data.localOnly || data.visibility?.startsWith("hidden") === true; 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.)