spec(ActivityPub): メンションされていない場合は個別ユーザーのinboxに届いた限定公開のPostは通知を作成しないように (MisskeyIO#365)

This commit is contained in:
まっちゃとーにゅ 2024-01-16 21:50:36 +09:00 committed by GitHub
parent fc7af990ef
commit 6fa77ef575
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -748,11 +748,6 @@ export class NoteCreateService implements OnApplicationShutdown {
// ストリームに流す
const noteObj = await this.noteEntityService.pack(note, null, { skipHide: true, withReactionAndUserPairCache: true });
this.globalEventService.publishNotesStream(noteObj);
// 通知を作成
const nm = new NotificationManager(this.mutingsRepository, this.notificationService, user, note);
await this.createMentionedEvents([additionalUser], note, nm);
nm.notify();
}
@bindThis