extensionSystem: Set the proper 'enabled' and 'type' parameters
When installing an extension at runtime, we accidentally swapped the 'type' and 'enabled' parameters. While this doesn't directly affect anything right now, as everything works coincidentally, future patches that look at the 'type' parameter to decide what to do would get the wrong answer.
This commit is contained in:
@ -202,7 +202,7 @@ function gotExtensionZipFile(session, message, uuid) {
|
||||
global.settings.set_strv(ENABLED_EXTENSIONS_KEY, enabledExtensions);
|
||||
}
|
||||
|
||||
loadExtension(dir, true, ExtensionType.PER_USER);
|
||||
loadExtension(dir, ExtensionType.PER_USER, true);
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user