rem: var identity = accountManager.GetIdentityByKey(identityKey); 
add: var identity = accountManager.getIdentity(identityKey); 
context: function getCurrentIdentity(){    var msgService = Components.classes['component://netscape/messenger/services/session'].getService(Components.interfaces.nsIMsgMailSession);    var accountManager = msgService.accountManager;    // fill in Identity combobox    var identitySelect = document.getElementById("msgIdentity");    var identityKey = identitySelect.value;    dump("Looking for identity " + identityKey + "\n");    var identity = accountManager.GetIdentityByKey(identityKey);        return identity;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/62b94d9ec4b7ac72bf5c3c5e85d602f3160d545e/MsgComposeCommands.js/clean/mailnews/compose/resources/content/MsgComposeCommands.js