summaryrefslogtreecommitdiff
path: root/libre/icedove-extension-enigmail/0001-Disable-Thunderbird-78-upgrade-warning-message.patch
blob: 8dadb364bb5d47f56b473cdec273438fa00d5490 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From e60a1b92dc4876ffcb077fafb097246f60eff766 Mon Sep 17 00:00:00 2001
From: Jonas Witschel <diabonas@archlinux.org>
Date: Sun, 5 Jul 2020 13:43:42 +0200
Subject: [PATCH] Disable Thunderbird 78 upgrade warning message

---
 package/configure.jsm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/package/configure.jsm b/package/configure.jsm
index 1a10f901..da521a22 100644
--- a/package/configure.jsm
+++ b/package/configure.jsm
@@ -309,6 +309,13 @@ var EnigmailConfigure = {
   },
 
   upgradeTo217: function(win) {
-    if (!EnigmailCompat.isPostbox()) displayUpgradeInfo(win);
+    /* Enigmail obtained from addons.mozilla.org shows a warning that the extension will stop
+       working with Thunderbird >= 78 and that users should hold back on upgrading Thunderbird until
+       its new builtin OpenPGP support is mature (expected for Thunderbird 78.2). This makes sense for
+       users of the builtin Thunderbird auto-update function, but less so for user obtaining Thunderbird
+       from a distribution repository, since it encourages partial upgrades. Hence for Arch Linux we
+       remove this warning and add a versioned dependency on Thunderbird < 78 instead to prevent users
+       from accidentally upgrading to the next release while still having Enigmail installed. */
+    // if (!EnigmailCompat.isPostbox()) displayUpgradeInfo(win);
   }
 };
-- 
2.27.0