[tor-commits] [torbirdy/master] Update the comments to reflect the new changes

sukhbir at torproject.org sukhbir at torproject.org
Thu Dec 26 23:51:39 UTC 2013


commit d64d36db7b31a76ef33fbae54c1c4bcd750ca1eb
Author: Sukhbir Singh <sukhbir at torproject.org>
Date:   Thu Dec 26 18:51:50 2013 -0500

    Update the comments to reflect the new changes
---
 components/torbirdy.js |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/components/torbirdy.js b/components/torbirdy.js
index 40ab963..1480c5d 100644
--- a/components/torbirdy.js
+++ b/components/torbirdy.js
@@ -489,15 +489,16 @@ TorBirdy.prototype = {
       }
 
       // For only the first run (after that the user can configure the account if need be):
-      //    Iterate through all accounts and disable automatic checking of emails.
+      //    save drafts for IMAP accounts locally
+      //    disable automatic checking of emails and enforce SSL/TLS
       var accounts = this.acctMgr.accounts;
 
       var allAccounts = [];
-      // To maintain compatibility between Gecko 17+ and Gecko < 17.
+      // To maintain compatibility between Gecko 17+ and Gecko < 17, find out
+      // which version we are on.
       var newGecko = (accounts.queryElementAt) ? true : false;
 
       var accountLength = newGecko ? accounts.length : accounts.Count();
-
       for (var i = 0; i < accountLength; i++) {
         var account = (newGecko) ?
                       accounts.queryElementAt(i, Ci.nsIMsgAccount) :
@@ -522,6 +523,7 @@ TorBirdy.prototype = {
                            identities.QueryElementAt(ident, Ci.nsIMsgIdentity);
 
             var key = identity.key;
+            // 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++) {



More information about the tor-commits mailing list