This commit is contained in:
gdlbo
2023-07-02 13:44:47 +03:00
parent 32e1bfe6fd
commit 40635ab75a
@@ -242,13 +242,13 @@ public class NewsFeedFiltersUtils {
return false;
}
if (checkCopyright(post) && !isWhitelistedFilters(post)) {
if (checkCopyright(post)) {
if (dev())
Log.d("NewsfeedAdBlockV2", "Removed post " + post.optInt("post_id") + " from discover, Reason: copyright filters");
return false;
}
if (checkCaption(post) && !isWhitelistedFilters(post)) {
if (checkCaption(post)) {
if (dev())
Log.d("NewsfeedAdBlockV2", "Removed post " + post.optInt("post_id") + " from discover, Reason: caption filters");
return false;
@@ -448,13 +448,13 @@ public class NewsFeedFiltersUtils {
continue;
}
if (checkCopyright(list) && !isWhitelistedFilters(list)) {
if (checkCopyright(list)) {
if (dev())
Log.d("NewsfeedAdBlockV2", "Removed post " + list.optInt("post_id") + " from feed, Reason: copyright filters");
continue;
}
if (checkCaption(list) && !isWhitelistedFilters(list)) {
if (checkCaption(list)) {
if (dev())
Log.d("NewsfeedAdBlockV2", "Removed post " + list.optInt("post_id") + " from feed, Reason: caption filters");
continue;