summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSukhbir Singh <sukhbir@torproject.org>2015-03-09 16:20:56 +0530
committerSukhbir Singh <sukhbir@torproject.org>2015-03-09 16:20:56 +0530
commit625f80e1f656f38784c3928cc5e62f1407d1c400 (patch)
tree2feba1a63d0be9d1a77d1bbfd901f40b766314a2
parent9be34f6ac3c12b7b972c6e5768749f6c18725d8c (diff)
Fix bug that prevented Thunderbird from starting
-rw-r--r--ChangeLog5
-rw-r--r--components/torbirdy.js4
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) {