spec(ActivityPub): メンションされていない場合は個別ユーザーのinboxに届いた限定公開のPostは通知を作成しないように (MisskeyIO#365)
This commit is contained in:
parent
fc7af990ef
commit
6fa77ef575
|
@ -748,11 +748,6 @@ export class NoteCreateService implements OnApplicationShutdown {
|
||||||
// ストリームに流す
|
// ストリームに流す
|
||||||
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);
|
||||||
|
|
||||||
// 通知を作成
|
|
||||||
const nm = new NotificationManager(this.mutingsRepository, this.notificationService, user, note);
|
|
||||||
await this.createMentionedEvents([additionalUser], note, nm);
|
|
||||||
nm.notify();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@bindThis
|
@bindThis
|
||||||
|
|
Loading…
Reference in a new issue