1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-01 00:08:24 +09:00

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に追加 // FanoutTimelineに追加
this.pushToTl(note, user); 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 }); const noteObj = await this.noteEntityService.pack(note, null, { skipHide: true, withReactionAndUserPairCache: true });
this.globalEventService.publishNotesStream(noteObj); this.globalEventService.publishNotesStream(noteObj);