From faf1a0cacfa220e7de17458329a5fac976531281 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Wed, 24 Jun 2026 22:43:12 +0200 Subject: [PATCH] fix(appstore): only show appstore entries if actual from appstore - resolves https://github.com/nextcloud/server/issues/61273 Shipped apps are no longer published to the appstore, so the appstore data is outdated and confusing. So ignore them from the app fetcher and only use the local data. Signed-off-by: Ferdinand Thiessen --- apps/appstore/lib/Controller/ApiController.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/appstore/lib/Controller/ApiController.php b/apps/appstore/lib/Controller/ApiController.php index 1ea6aa1073084..c3b0d70df932d 100644 --- a/apps/appstore/lib/Controller/ApiController.php +++ b/apps/appstore/lib/Controller/ApiController.php @@ -330,7 +330,14 @@ private function fetchApps(): void { $apps = $this->getAppsForCategory(''); $supportedApps = $this->subscriptionRegistry->delegateGetSupportedApps(); + $shippedApps = $this->appManager->getAlwaysEnabledApps(); foreach ($apps as $app) { + if (in_array($app['id'], $shippedApps)) { + // shipped apps are no longer published on the appstore + // so skip them to avoid confusion with outdated data + continue; + } + $app['appstore'] = true; if (!array_key_exists($app['id'], $this->allApps)) { $this->allApps[$app['id']] = $app;