From 1e2919531b65fb20feaff34cbff8b13eb776db3c Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Mon, 26 Apr 2021 13:27:13 -0400 Subject: [PATCH] use blocked/muted uris in not_channel_ids for claim_search --- ui/component/claimListDiscover/view.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/component/claimListDiscover/view.jsx b/ui/component/claimListDiscover/view.jsx index c9a3ad099..04af8b7bf 100644 --- a/ui/component/claimListDiscover/view.jsx +++ b/ui/component/claimListDiscover/view.jsx @@ -214,9 +214,7 @@ function ClaimListDiscover(props: Props) { // no_totals makes it so the sdk doesn't have to calculate total number pages for pagination // it's faster, but we will need to remove it if we start using total_pages no_totals: true, - not_channel_ids: - // If channelIdsParam were passed in, we don't need not_channel_ids - !channelIdsParam ? mutedAndBlockedChannelIds : [], + not_channel_ids: mutedAndBlockedChannelIds, not_tags: !showNsfw ? MATURE_TAGS : [], order_by: orderParam === CS.ORDER_BY_TRENDING