From b4ed8a3d06e9d51fcda8c4b0450cbf7422e01161 Mon Sep 17 00:00:00 2001 From: Sebastian Keller Date: Thu, 28 Nov 2019 14:06:12 +0100 Subject: [PATCH] extensionDownloader: Use uuid lookup method in checkForUpdates() The extensions variable the code was trying to access was made private and turned into a map some time ago. https://gitlab.gnome.org/GNOME/gnome-shell/issues/1958 --- js/ui/extensionDownloader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/extensionDownloader.js b/js/ui/extensionDownloader.js index e261573ab..466172528 100644 --- a/js/ui/extensionDownloader.js +++ b/js/ui/extensionDownloader.js @@ -154,7 +154,7 @@ function updateExtension(uuid) { function checkForUpdates() { let metadatas = {}; Main.extensionManager.getUuids().forEach(uuid => { - metadatas[uuid] = Main.extensionManager.extensions[uuid].metadata; + metadatas[uuid] = Main.extensionManager.lookup(uuid).metadata; }); let params = { shell_version: Config.PACKAGE_VERSION,