mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-27 06:18:06 +09:00
[backend] Don't federate edits of local-only notes (resolves #566)
This commit is contained in:
parent
05c540f52c
commit
e753462c01
@ -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 New Issue
Block a user