From 0c742929a53f159ef85775a436d99ab7a49e6d99 Mon Sep 17 00:00:00 2001 From: April John Date: Mon, 8 May 2023 19:33:04 +0200 Subject: [PATCH] fix: dont stream hidden posts --- packages/backend/src/services/note/create.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/backend/src/services/note/create.ts b/packages/backend/src/services/note/create.ts index 5259a57c0e..96ce57b6a2 100644 --- a/packages/backend/src/services/note/create.ts +++ b/packages/backend/src/services/note/create.ts @@ -450,7 +450,9 @@ export default async ( } } - publishNotesStream(note); + if (!dontFederateInitially) { + publishNotesStream(note); + } if (note.replyId != null) { // Only provide the reply note id here as the recipient may not be authorized to see the note. publishNoteStream(note.replyId, "replied", {