fix(backend): localOnlyなノートの時は配送処理そのものを起動しない
This commit is contained in:
@@ -677,7 +677,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||||||
nm.notify();
|
nm.notify();
|
||||||
|
|
||||||
//#region AP deliver
|
//#region AP deliver
|
||||||
if (this.userEntityService.isLocalUser(user)) {
|
if (!data.localOnly && this.userEntityService.isLocalUser(user)) {
|
||||||
(async () => {
|
(async () => {
|
||||||
const noteActivity = await this.renderNoteOrRenoteActivity(data, note);
|
const noteActivity = await this.renderNoteOrRenoteActivity(data, note);
|
||||||
const dm = this.apDeliverManagerService.createDeliverManager(user, noteActivity);
|
const dm = this.apDeliverManagerService.createDeliverManager(user, noteActivity);
|
||||||
|
|||||||
Reference in New Issue
Block a user