fix: MisskeyIO#365 にもかかわらずまだ通知が発生する場合がある問題を修正 (MisskeyIO#368)

This commit is contained in:
まっちゃとーにゅ 2024-01-17 21:36:52 +09:00 committed by GitHub
parent 67535514b9
commit 27a9a8f4ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 6 deletions

View File

@ -739,12 +739,6 @@ export class NoteCreateService implements OnApplicationShutdown {
// FanoutTimelineに追加
this.pushToTl(note, user);
// 未読として追加
this.noteReadService.insertNoteUnread(additionalUser.id, note, {
isSpecified: true,
isMentioned: false,
});
// ストリームに流す
const noteObj = await this.noteEntityService.pack(note, null, { skipHide: true, withReactionAndUserPairCache: true });
this.globalEventService.publishNotesStream(noteObj);