[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit eede7c74389004e8d01d83068e524461adcaa32a
Author: anonym <anonym@xxxxxxxxxx>
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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits