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:
parent
ef49670ae4
commit
bbb83656bf
@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user