mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-28 22:49:24 +09:00
fix: MisskeyIO#365 にもかかわらずまだ通知が発生する場合がある問題を修正 (MisskeyIO#368)
This commit is contained in:
parent
67535514b9
commit
27a9a8f4ce
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user