summaryrefslogtreecommitdiff
path: root/packages/backend/src/core
diff options
context:
space:
mode:
authoranatawa12 <anatawa12@icloud.com>2024-04-17 14:23:41 +0900
committerGitHub <noreply@github.com>2024-04-17 14:23:41 +0900
commite423b8ce4b28ecbe4e300fc67389e4def3761eb6 (patch)
tree43d5e15ead542d1f0dad7dc30e0f86dc7e192535 /packages/backend/src/core
parentenhance(frontend): フォローするかどうかの確認ダイアログを... (diff)
downloadsharkey-e423b8ce4b28ecbe4e300fc67389e4def3761eb6.tar.gz
sharkey-e423b8ce4b28ecbe4e300fc67389e4def3761eb6.tar.bz2
sharkey-e423b8ce4b28ecbe4e300fc67389e4def3761eb6.zip
細かいミュートの処理の修正 (#13695)
* fix: some replies are removed from global timeline * refactor: 各チャンネルのミュートとブロックの処理をまとめる * fix: リノートをミュートでその人のノートのリノートをミュートしていたを修正 * refactor: isPureRenotePackedを他のところでも使う * docs(changelog): CHANGELOGを更新 * test: withReplies = falseでフォローしてる人によるリプライが流れてくる * test: ノートミュートしているユーザーの通常ノートのリノートが流れてくる/含まれる
Diffstat (limited to 'packages/backend/src/core')
-rw-r--r--packages/backend/src/core/FanoutTimelineEndpointService.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/FanoutTimelineEndpointService.ts b/packages/backend/src/core/FanoutTimelineEndpointService.ts
index 006433df7a..884723ff81 100644
--- a/packages/backend/src/core/FanoutTimelineEndpointService.ts
+++ b/packages/backend/src/core/FanoutTimelineEndpointService.ts
@@ -116,7 +116,7 @@ export class FanoutTimelineEndpointService {
filter = (note) => {
if (isUserRelated(note, userIdsWhoBlockingMe, ps.ignoreAuthorFromBlock)) return false;
if (isUserRelated(note, userIdsWhoMeMuting, ps.ignoreAuthorFromMute)) return false;
- if (isRenote(note) && !isQuote(note) && isUserRelated(note, userIdsWhoMeMutingRenotes, ps.ignoreAuthorFromMute)) return false;
+ if (!ps.ignoreAuthorFromMute && isRenote(note) && !isQuote(note) && userIdsWhoMeMutingRenotes.has(note.userId)) return false;
if (isInstanceMuted(note, userMutedInstances)) return false;
return parentFilter(note);