mirror of
https://github.com/paricafe/misskey.git
synced 2025-01-19 08:08:41 -06:00
fix(edit): tweak note update content
This commit is contained in:
parent
0cd597309b
commit
5e322e52f3
1 changed files with 7 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue