fix: dont stream hidden posts

This commit is contained in:
April John 2023-05-08 19:33:04 +02:00
parent 0b59937e9e
commit 0c742929a5
1 changed files with 3 additions and 1 deletions

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