Don't federate edits of local-only notes (resolves #566)
Some checks are pending
/ test-build (push) Waiting to run

Signed-off-by: limepotato <limepot@protonmail.ch>
This commit is contained in:
Laura Hausmann 2024-09-10 20:05:54 +02:00 committed by limepotato
parent 496f93a66f
commit 749801d561

View file

@ -193,6 +193,7 @@ export default async function (
publishNoteUpdatesStream("updated", note);
(async () => {
if (note.localOnly) return;
const noteActivity = await renderNote(note, false);
noteActivity.updated = note.updatedAt.toISOString();
const updateActivity = renderUpdate(noteActivity, user);