[plasma/discover] libdiscover/backends/RpmOstreeBackend: rpmostree: Ignore all URLs, not just appstream

Aleix Pol Gonzalez <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 78f2752d8ea74d02a1c3c2b3171e4b0c2bbab919 by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 06/08/2026 at 23:18.
Pushed by apol into branch 'master'.

rpmostree: Ignore all URLs, not just appstream

M  +2    -2    libdiscover/backends/RpmOstreeBackend/RpmOstreeBackend.cpp

https://invent.kde.org/plasma/discover/-/commit/78f2752d8ea74d02a1c3c2b3171e4b0c2bbab919

diff --git a/libdiscover/backends/RpmOstreeBackend/RpmOstreeBackend.cpp b/libdiscover/backends/RpmOstreeBackend/RpmOstreeBackend.cpp
index 33c0c5b5f..64fa3e827 100644
--- a/libdiscover/backends/RpmOstreeBackend/RpmOstreeBackend.cpp
+++ b/libdiscover/backends/RpmOstreeBackend/RpmOstreeBackend.cpp
@@ -451,8 +451,8 @@ ResultsStream *RpmOstreeBackend::search(const AbstractResourcesBackend::Filters
     }
 
     // Skip the search if we're looking at the page for a specific application
-    if (filter.resourceUrl.scheme() == QLatin1String("appstream")) {
-        qCDebug(RPMOSTREE_LOG) << "search: skipping, appstream";
+    if (!filter.resourceUrl.isEmpty()) {
+        qCDebug(RPMOSTREE_LOG) << "search: skipping, url" << filter.resourceUrl;
         return new ResultsStream(QStringLiteral("rpm-ostree-empty"), {});
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.