mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-23 18:37:30 -07:00
Don't federate edits of local-only notes (resolves #566)
Some checks are pending
/ test-build (push) Waiting to run
Some checks are pending
/ test-build (push) Waiting to run
Signed-off-by: limepotato <limepot@protonmail.ch>
This commit is contained in:
parent
496f93a66f
commit
749801d561
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