diff --git a/lbry/schema/result.py b/lbry/schema/result.py index 3469a9c4c..d0889898e 100644 --- a/lbry/schema/result.py +++ b/lbry/schema/result.py @@ -38,7 +38,9 @@ class Censor: for claim_hash, lookup in ( (row['claim_hash'], self.streams), (row['claim_hash'], self.channels), - (row['channel_hash'], self.channels)): + (row['channel_hash'], self.channels), + (row['reposted_claim_hash'], self.streams), + (row['reposted_claim_hash'], self.channels)): censoring_channel_hash = lookup.get(claim_hash) if censoring_channel_hash: was_censored = True diff --git a/tests/integration/blockchain/test_claim_commands.py b/tests/integration/blockchain/test_claim_commands.py index 03b3c8c59..96ca3437b 100644 --- a/tests/integration/blockchain/test_claim_commands.py +++ b/tests/integration/blockchain/test_claim_commands.py @@ -961,9 +961,9 @@ class StreamCommands(ClaimTestCase): result = await self.out(self.daemon.jsonrpc_claim_search(any_tags=['bad-stuff'], order_by=['height'])) filtered = result['blocked'] self.assertEqual(0, len(result['items'])) - self.assertEqual(2, filtered['total']) + self.assertEqual(3, filtered['total']) self.assertEqual(1, len(filtered['channels'])) - self.assertEqual(2, filtered['channels'][0]['blocked']) + self.assertEqual(3, filtered['channels'][0]['blocked']) self.assertTrue(filtered['channels'][0]['channel']['short_url'].startswith('lbry://@filtering#')) # filtered channel should still resolve