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

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