diff --git a/vendor/bat-native-ledger/src/bat_publishers.cc b/vendor/bat-native-ledger/src/bat_publishers.cc index 58efe850f978..b0fc103dcfc5 100644 --- a/vendor/bat-native-ledger/src/bat_publishers.cc +++ b/vendor/bat-native-ledger/src/bat_publishers.cc @@ -238,10 +238,6 @@ void BatPublishers::saveVisitInternal( bool verified = isVerified(publisher_id); - if (!ledger_->GetPublisherAllowNonVerified() && !verified) { - return; - } - bool new_visit = false; if (!publisher_info.get()) { new_visit = true; @@ -250,7 +246,10 @@ void BatPublishers::saveVisitInternal( visit_data.local_year)); } - if (!ignoreMinTime(publisher_id) && duration < getPublisherMinVisitTime()) { + // set duration to 0 if you don't have sufficient visit time + // or if you set ac to only verified and site is not verified + if ((!ignoreMinTime(publisher_id) && duration < getPublisherMinVisitTime()) || + (!ledger_->GetPublisherAllowNonVerified() && !verified)) { duration = 0; }