[tor-commits] [torbirdy/master] Work around Thunderbird forcing login_at_startup for the first account.

sukhbir at torproject.org sukhbir at torproject.org
Wed May 4 17:25:02 UTC 2016


commit eede7c74389004e8d01d83068e524461adcaa32a
Author: anonym <anonym at riseup.net>
Date:   Thu Mar 17 14:08:18 2016 +0100

    Work around Thunderbird forcing login_at_startup for the first account.
---
 components/torbirdy.js | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/components/torbirdy.js b/components/torbirdy.js
index 5867f98..2efcfec 100644
--- a/components/torbirdy.js
+++ b/components/torbirdy.js
@@ -181,6 +181,14 @@ const TorBirdyPrefs = {
   "mail.inline_attachments": false,
   // Do not IDLE (disable push mail).
   "mail.server.default.use_idle": false,
+  // Thunderbird's autoconfig wizard is designed to enable an initial
+  // mail fetch (by setting login_at_start) for the first account it
+  // creates (which will become the "default" account, see
+  // msgMail3PaneWindow.js for details) which side-steps the settings
+  // we apply in fixupTorbirdySettingsOnNewAccount(). Hence, fool
+  // Thunderbird to think that this initial mail fetch has already
+  // been done so we get the settings we want.
+  "mail.startup.enabledMailCheckOnce": true,
 
   /*
     Browser





More information about the tor-commits mailing list