PR cleanup #1164

Merged
akinwale merged 32 commits from pr-1118 into master 2021-03-08 20:15:23 +01:00
Showing only changes of commit a261a62584 - Show all commits

View file

@ -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);