fix(edit): tweak note update content

This commit is contained in:
Nya Candy 2024-01-26 12:17:27 +08:00 committed by fly_mc
parent 0cd597309b
commit 5e322e52f3

View file

@ -77,8 +77,13 @@ export class NoteUpdateService {
}); });
if (this.userEntityService.isLocalUser(user) && !note.localOnly) { if (this.userEntityService.isLocalUser(user) && !note.localOnly) {
const content = this.apRendererService.renderUpdateNote(await this.apRendererService.renderNote(newNote, false), newNote); const content = this.apRendererService.addContext(
this.deliverToConcerned(user, note, content); this.apRendererService.renderUpdateNote(
await this.apRendererService.renderNote(newNote, false), newNote,
),
);
this.deliverToConcerned(user, newNote, content);
} }
} }