Bug 1008835 Unable to defer a new account to the Global Inbox r=IanN a=IanN SEA_2_26_1_RELBRANCH
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Mon, 02 Jun 2014 00:30:40 +0100
branchSEA_2_26_1_RELBRANCH
changeset 31074 2e990ad00dac9da28625cb821d177c705a3d4fbd
parent 31073 4d8e84d2168961eebf8b199db961d89ada7b2d89
child 31075 9df14e7197fcaada44e66231270649c30fe3cb52
push id1
push userclokep@gmail.com
push dateMon, 07 May 2018 22:45:56 +0000
treeherdercomm-esr60@57eacde5ef40 [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
@@ -443,17 +443,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];