diff options
| author | おさむのひと <46447427+samunohito@users.noreply.github.com> | 2023-12-03 10:19:37 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-03 10:19:37 +0900 |
| commit | c68d87538a8486e5c236a142e42221c70b157861 (patch) | |
| tree | 66e8a1eb6aa5c19a5276826661b86fb46d242c74 /packages/backend/src/server/api/stream/Connection.ts | |
| parent | fix: withChannelNotesとwithFilesを同時に指定したときの考慮 (#12... (diff) | |
| download | sharkey-c68d87538a8486e5c236a142e42221c70b157861.tar.gz sharkey-c68d87538a8486e5c236a142e42221c70b157861.tar.bz2 sharkey-c68d87538a8486e5c236a142e42221c70b157861.zip | |
リストタイムラインでミュートが貫通してしまう問題に対処 (#12534)
* ユーザリストTL系の各種動作を修正・統一
* fix
* fix CHANGELOG.md
* テスト追加
Diffstat (limited to 'packages/backend/src/server/api/stream/Connection.ts')
| -rw-r--r-- | packages/backend/src/server/api/stream/Connection.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/backend/src/server/api/stream/Connection.ts b/packages/backend/src/server/api/stream/Connection.ts index 2d8fec30b1..4180ccc56a 100644 --- a/packages/backend/src/server/api/stream/Connection.ts +++ b/packages/backend/src/server/api/stream/Connection.ts @@ -36,6 +36,7 @@ export default class Connection { public userIdsWhoMeMuting: Set<string> = new Set(); public userIdsWhoBlockingMe: Set<string> = new Set(); public userIdsWhoMeMutingRenotes: Set<string> = new Set(); + public userMutedInstances: Set<string> = new Set(); private fetchIntervalId: NodeJS.Timeout | null = null; constructor( @@ -69,6 +70,7 @@ export default class Connection { this.userIdsWhoMeMuting = userIdsWhoMeMuting; this.userIdsWhoBlockingMe = userIdsWhoBlockingMe; this.userIdsWhoMeMutingRenotes = userIdsWhoMeMutingRenotes; + this.userMutedInstances = new Set(userProfile.mutedInstances); } @bindThis |