forked from LBRYCommunity/lbry-sdk
fix filtering error upon abandon
This commit is contained in:
parent
de9159d83c
commit
8b42475d59
1 changed files with 5 additions and 4 deletions
|
@ -491,10 +491,11 @@ class LevelDB:
|
|||
reposts = self.get_reposts_in_channel(reposter_channel_hash)
|
||||
for repost in reposts:
|
||||
txo = self.get_claim_txo(repost)
|
||||
if txo.normalized_name.startswith('@'):
|
||||
channels[repost] = reposter_channel_hash
|
||||
else:
|
||||
streams[repost] = reposter_channel_hash
|
||||
if txo:
|
||||
if txo.normalized_name.startswith('@'):
|
||||
channels[repost] = reposter_channel_hash
|
||||
else:
|
||||
streams[repost] = reposter_channel_hash
|
||||
return streams, channels
|
||||
|
||||
def get_reposts_in_channel(self, channel_hash):
|
||||
|
|
Loading…
Reference in a new issue