mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 00:29:22 +09:00
fix(backend): localOnlyなノートの時は配送処理そのものを起動しない
This commit is contained in:
parent
3a6c2aa835
commit
62104def2c
@ -677,7 +677,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…
Reference in New Issue
Block a user