Corrected logic that was bypassing the muted list.
This commit is contained in:
parent
91ef5456de
commit
04f3dfbb9f
1 changed files with 4 additions and 2 deletions
|
@ -324,11 +324,13 @@ const makeSelectFilteredComments = (comments: Array<Comment>, claimId?: string)
|
|||
if (claimId) {
|
||||
const claimIdIsMine = myClaims && myClaims.size > 0 && myClaims.has(claimId);
|
||||
if (!claimIdIsMine) {
|
||||
return !(
|
||||
if (
|
||||
personalBlockList.includes(comment.channel_url) ||
|
||||
adminBlockList.includes(comment.channel_url) ||
|
||||
moderatorBlockList.includes(comment.channel_url)
|
||||
);
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue