summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2018-05-23 17:59:44 +0200
committerAleix Pol <[email protected]>2018-05-23 17:59:44 +0200
commit358a03b887781d4d49c14d91f483ca0077d03235 (patch)
treef01ee26c854b718dc27e8ce3c86d23a5d71386fd
parent37e166aed1967f3a1276e73f3a9258b02d536bb7 (diff)
Properly check if we should be checking for a resource's reviews
-rw-r--r--libdiscover/appstream/OdrsReviewsBackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiscover/appstream/OdrsReviewsBackend.cpp b/libdiscover/appstream/OdrsReviewsBackend.cpp
index 4b6586b..998c07d 100644
--- a/libdiscover/appstream/OdrsReviewsBackend.cpp
+++ b/libdiscover/appstream/OdrsReviewsBackend.cpp
@@ -208,7 +208,7 @@ void OdrsReviewsBackend::reviewsFetched()
Rating * OdrsReviewsBackend::ratingForApplication(AbstractResource *app) const
{
- if (app->isTechnical()) {
+ if (app->appstreamId().isEmpty()) {
return nullptr;
}