fix: dont stream hidden posts

This commit is contained in:
April John 2023-05-08 19:33:04 +02:00
parent f950c33f79
commit 2a69ade176

View File

@ -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", {