[tor-commits] [torbirdy/master] Fix bug that prevented Thunderbird from starting

sukhbir at torproject.org sukhbir at torproject.org
Mon Mar 9 10:50:47 UTC 2015


commit 625f80e1f656f38784c3928cc5e62f1407d1c400
Author: Sukhbir Singh <sukhbir at torproject.org>
Date:   Mon Mar 9 16:20:56 2015 +0530

    Fix bug that prevented Thunderbird from starting
---
 ChangeLog              |    5 +++++
 components/torbirdy.js |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 020908e..c5b4021 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+0.1.4, 09 March 2015
+  * Fix bug that prevented Thunderbird with TorBirdy 0.1.3 from starting
+  in profiles with more than three IMAP accounts (closes #14099, #13982,
+  #13722, #14007, #14130)
+
 0.1.3, 23 Oct 2014
 
   * The default keyserver (hidden service) has been updated:
diff --git a/components/torbirdy.js b/components/torbirdy.js
index 40adadb..5867f98 100644
--- a/components/torbirdy.js
+++ b/components/torbirdy.js
@@ -528,9 +528,9 @@ TorBirdy.prototype = {
             // We need to restore the following preferences after we are uninstalled/disabled.
             var restorePrefs = ["draft_folder", "drafts_folder_picker_mode"];
 
-            for (var i = 0; i < restorePrefs.length; i++) {
+            for (var p = 0; p < restorePrefs.length; p++) {
               var pref = "mail.identity.%id%.".replace("%id%", key);
-              var prefName = pref + restorePrefs[i];
+              var prefName = pref + restorePrefs[p];
               if (this.prefs.prefHasUserValue(prefName)) {
                 var typePref = this.prefs.getPrefType(prefName);
                 if (typePref === 32) {



More information about the tor-commits mailing list