Blame SOURCES/disable-openpgp-in-thunderbird.patch
|
|
155c30 |
diff --git a/comm/mail/extensions/openpgp/content/BondOpenPGP.jsm b/comm/mail/extensions/openpgp/content/BondOpenPGP.jsm
|
|
|
155c30 |
--- a/comm/mail/extensions/openpgp/content/BondOpenPGP.jsm
|
|
|
155c30 |
+++ b/comm/mail/extensions/openpgp/content/BondOpenPGP.jsm
|
|
|
155c30 |
@@ -53,20 +53,23 @@ var BondOpenPGP = {
|
|
|
155c30 |
|
|
|
155c30 |
// if null, we haven't yet read the pref
|
|
|
155c30 |
// if true, pref was enabled and we already triggered init
|
|
|
155c30 |
_isEnabled: null,
|
|
|
155c30 |
|
|
|
155c30 |
_alreadyTriedInit: false, // if already true, we will not try again
|
|
|
155c30 |
|
|
|
155c30 |
setIsEnabledFromPref() {
|
|
|
155c30 |
- this._isEnabled = Services.prefs.getBoolPref("mail.openpgp.enable");
|
|
|
155c30 |
+ return false;
|
|
|
155c30 |
+ //this._isEnabled = Services.prefs.getBoolPref("mail.openpgp.enable");
|
|
|
155c30 |
},
|
|
|
155c30 |
|
|
|
155c30 |
async init() {
|
|
|
155c30 |
+ return;
|
|
|
155c30 |
+
|
|
|
155c30 |
if (!MailConstants.MOZ_OPENPGP) {
|
|
|
155c30 |
return;
|
|
|
155c30 |
}
|
|
|
155c30 |
|
|
|
155c30 |
// We never shut off after pref change, disabling requires restart.
|
|
|
155c30 |
// If null, it means we're here for the first time, read the pref.
|
|
|
155c30 |
// If false, it could mean the pref was now turned on at runtime.
|
|
|
155c30 |
// In both scenarios, null and false, we reread the pref to check
|