[backend] Don't federate edits of local-only notes (resolves #566)
This commit is contained in:
parent
05c540f52c
commit
e753462c01
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue