Skip to content

Commit

Permalink
fix(backend): localOnlyなノートの時は配送処理そのものを起動しない
Browse files Browse the repository at this point in the history
  • Loading branch information
samunohito authored and DA-TENSHI committed Dec 19, 2024
1 parent fa06e37 commit 562bf29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/core/NoteCreateService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,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);
Expand Down

0 comments on commit 562bf29

Please sign in to comment.