Bug 1008835 Unable to defer a new account to the Global Inbox r=IanN a=IanN
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Mon, 09 Jun 2014 15:52:53 +0100
changeset 19998 9539a7c8a0bfa6be14e38c5fe8708005e6197b16
parent 19997 95db674d95ddefbda79d4054e755581697dc2112
child 19999 e83fae600a28b856159927a707ce4bc55542bbf4
push id1151
push usermbanner@mozilla.com
push dateMon, 09 Jun 2014 22:14:36 +0000
treeherdercomm-beta@ce127428ad7d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersIanN, IanN
bugs1008835
Bug 1008835 Unable to defer a new account to the Global Inbox r=IanN a=IanN
mailnews/base/prefs/content/AccountWizard.js
--- a/mailnews/base/prefs/content/AccountWizard.js
+++ b/mailnews/base/prefs/content/AccountWizard.js
@@ -441,17 +441,17 @@ function finishAccount(account, accountD
     // if so, we use the type to get the IID, QueryInterface
     // as appropriate, then copy the data over
     dump("srcServer.ServerType-" + srcServer.type + " = " +
          srcServer["ServerType-" + srcServer.type] + "\n");
     if (srcServer["ServerType-" + srcServer.type]) {
       // handle server-specific stuff
       var IID;
       try {
-        IID = srcServer.protocolInfo.serverIID;
+        IID = destServer.protocolInfo.serverIID;
       } catch (ex) {
         Components.utils.reportError("Could not get IID for " + srcServer.type + ": " + ex);
       }
 
       if (IID) {
         destProtocolServer = destServer.QueryInterface(IID);
         srcProtocolServer = srcServer["ServerType-" + srcServer.type];