Skip to content
Snippets Groups Projects
Unverified Commit fd040c50 authored by anatawa12's avatar anatawa12 Committed by GitHub
Browse files

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

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

* docs(changelog): Fix: 自分のdirect noteがuser list timelineに追加されない
parent 237fe242
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,7 @@
### General
- Enhance: ローカリゼーションの更新
- Fix: 自分のdirect noteがuser list timelineに追加されない
### Client
-
......
......@@ -887,6 +887,7 @@ export class NoteCreateService implements OnApplicationShutdown {
// ダイレクトのとき、そのリストが対象外のユーザーの場合
if (
note.visibility === 'specified' &&
note.userId !== userListMembership.userListUserId &&
!note.visibleUserIds.some(v => v === userListMembership.userListUserId)
) continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment