Allow moderators to perform Timeout as well. #7015
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