Revert 一時的に Redis に書き込むユーザーをモデレータのみに絞る (MisskeyIO#192)
This commit is contained in:
parent
e109334c59
commit
51e5b1e273
|
@ -526,9 +526,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if (await this.roleService.isModerator({ id: user.id, isRoot: false })) {
|
this.pushToTl(note, user);
|
||||||
this.pushToTl(note, user);
|
|
||||||
}
|
|
||||||
|
|
||||||
this.antennaService.addNoteToAntennas(note, user);
|
this.antennaService.addNoteToAntennas(note, user);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue