diff --git a/experiments/scoreColumn.js b/experiments/scoreColumn.js index 01e8a6e..d9b121a 100644 --- a/experiments/scoreColumn.js +++ b/experiments/scoreColumn.js @@ -13,8 +13,10 @@ var [majorVersion, minorVersion] = Services.appinfo.platformVersion.split(".", 2 const RspamdSpamnessColumn = {}; // Thunderbird Supernova with custom column handlers support const SupernovaCC = majorVersion > 115 || (majorVersion === 115 && minorVersion >= 10); +const ThreadPaneColumnsURI = "chrome://messenger/content/" + + ((majorVersion < 128) ? "thread-pane-columns" : "ThreadPaneColumns") + ".mjs"; const ThreadPaneColumns = SupernovaCC - ? ChromeUtils.importESModule("chrome://messenger/content/thread-pane-columns.mjs").ThreadPaneColumns + ? ChromeUtils.importESModule(ThreadPaneColumnsURI).ThreadPaneColumns : null; // eslint-disable-next-line no-var diff --git a/manifest.json b/manifest.json index f96e4ee..9eda319 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "gecko": { "id": "rspamd-spamness@alexander.moisseev", "strict_min_version": "78.0", - "strict_max_version": "127.*" + "strict_max_version": "128.*" } }, "name": "__MSG_extensionName__",