fix(backend): localOnlyなノートの時は配送処理そのものを起動しない (#15020)
* fix(backend): localOnlyなノートの時は配送処理そのものを起動しない * fix CHANGELOG.md * fix CHANGELOG.md
This commit is contained in:
parent
f01fc5af5a
commit
b16f5a781e
2 changed files with 2 additions and 1 deletions
|
|
@ -658,7 +658,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||
nm.notify();
|
||||
|
||||
//#region AP deliver
|
||||
if (this.userEntityService.isLocalUser(user)) {
|
||||
if (!data.localOnly && this.userEntityService.isLocalUser(user)) {
|
||||
(async () => {
|
||||
const noteActivity = await this.renderNoteOrRenoteActivity(data, note);
|
||||
const dm = this.apDeliverManagerService.createDeliverManager(user, noteActivity);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue