fix: 自分のdirect noteがuser list timelineに追加されない (#12782)

* fix: 自分のdirect noteがuser list timelineに追加されない

* docs(changelog): Fix: 自分のdirect noteがuser list timelineに追加されない
This commit is contained in:
anatawa12 2023-12-25 11:56:00 +09:00 committed by Marie
parent 7ce353bcc7
commit 34cdba6c11
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828
2 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@
### General
- Enhance: ローカリゼーションの更新
- Fix: 自分のdirect noteがuser list timelineに追加されない
### Client
-

View File

@ -1172,6 +1172,7 @@ export class NoteCreateService implements OnApplicationShutdown {
// ダイレクトのとき、そのリストが対象外のユーザーの場合
if (
note.visibility === 'specified' &&
note.userId !== userListMembership.userListUserId &&
!note.visibleUserIds.some(v => v === userListMembership.userListUserId)
) continue;