Revert 一時的に Redis に書き込むユーザーをモデレータのみに絞る (MisskeyIO#192)

This commit is contained in:
まっちゃとーにゅ 2023-10-27 01:41:34 +09:00 committed by GitHub
parent e109334c59
commit 51e5b1e273
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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