fix(backend): localOnlyなノートの時は配送処理そのものを起動しない (#15020)

* fix(backend): localOnlyなノートの時は配送処理そのものを起動しない

* fix CHANGELOG.md

* fix CHANGELOG.md
This commit is contained in:
おさむのひと
2025-01-18 08:35:47 +09:00
committed by GitHub
parent f01fc5af5a
commit b16f5a781e
2 changed files with 2 additions and 1 deletions

View File

@@ -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);