fix check for claims
This commit is contained in:
parent
49dee407c8
commit
a261a62584
1 changed files with 5 additions and 1 deletions
|
@ -691,11 +691,15 @@ public final class Helper {
|
|||
LbryFile file = files.get(i);
|
||||
// remove own claims as well
|
||||
if (Lbry.ownClaims != null && Lbry.ownClaims.size() > 0) {
|
||||
boolean hasClaim = false;
|
||||
for (Claim own : Lbry.ownClaims) {
|
||||
if (own.getClaimId().equalsIgnoreCase(file.getClaimId())) {
|
||||
continue;
|
||||
hasClaim = true;
|
||||
}
|
||||
}
|
||||
if (hasClaim) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (!Helper.isNullOrEmpty(file.getDownloadPath())) {
|
||||
filtered.add(file);
|
||||
|
|
Loading…
Reference in a new issue