1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-06 04:45:37 +02:00

fix(backend): 公開範囲がフォロワーの投稿が通知されない問題を修正 (#17363)

* fix(backend): 公開範囲がフォロワーの投稿が通知されない問題を修正

* Udpate Changelog
This commit is contained in:
かっこかり
2026-05-03 15:43:39 +09:00
committed by GitHub
parent d55e936653
commit f5a3d8996d
2 changed files with 5 additions and 3 deletions

View File

@@ -118,8 +118,8 @@ class NotificationManager {
visibleUserIds = new Set(this.note.visibleUserIds);
break;
case 'followers': {
// TODO: フォロワー限定ノートにフォロワーではない人がメンションされた場合通知されるのが正しい挙動なのか確認(一部に挙動の不一致がありそう)。現状は通知されるためフィルタしない
// case 'followers': {
// const targetUserIds = this.queue.map(x => x.target);
// const followers = await this.followingsRepository.find({
// where: {
@@ -130,8 +130,9 @@ class NotificationManager {
// select: ['followerId'],
// });
// visibleUserIds = new Set(followers.map(f => f.followerId));
// break;
// }
visibleUserIds = null;
break;
}
default:
visibleUserIds = new Set();