This is just some static backup of the original site, don't expect every link to work!

Changeset 08cca0


Ignore:
Timestamp:
Jan 23, 2010, 2:41:51 PM (13 years ago)
Author:
rene <rene@…>
Branches:
multiEdit, ng_0.6, ng_0.8, ng_0.9
Children:
baca9e
Parents:
588b9f
Message:

prevent adding incomingserver to RDF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_account.js

    r588b9f r08cca0  
    225225        // the incomingServer has to be replaced before the account is removed, else it get removed ether
    226226        var servers = vI_account.AccountManager.GetServersForIdentity(vI_account._getBaseIdentity());
    227         vI_account.account.incomingServer = servers.QueryElementAt(0, Components.interfaces.nsIMsgIncomingServer);
    228        
     227        var server = servers.QueryElementAt(0, Components.interfaces.nsIMsgIncomingServer);
     228       
     229        // we mark the server as invalid so that the account manager won't
     230        // tell RDF about the new server - we don't need this server for long
     231        // but we should restore it, because it's actually the same server as the one of the base identity
     232        server.valid = false;
     233        vI_account.account.incomingServer = server;
     234        server.valid = true;
     235
    229236        vI_account.copyMsgIdentityClone();
    230237        vI_account.copyPreferences();
Note: See TracChangeset for help on using the changeset viewer.