mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
get composition prefs from the current identity
This commit is contained in:
parent
5b5172ad26
commit
6cf60d5822
@ -42,17 +42,17 @@ nsMsgCompPrefs::nsMsgCompPrefs(void * identiy /*= nsnull*/)
|
||||
// now release the mail service because we are done with it
|
||||
nsServiceManager::ReleaseService(kCMsgMailSessionCID, mailSession);
|
||||
if (NS_SUCCEEDED(res) && identity) {
|
||||
const char * aString = nsnull;
|
||||
char * aString = nsnull;
|
||||
|
||||
identity->GetOrganization(&aString);
|
||||
if (aString)
|
||||
m_organization = PL_strdup(aString);
|
||||
|
||||
identity->GetUserFullName(&aString);
|
||||
identity->GetFullName(&aString);
|
||||
if (aString)
|
||||
m_userFullName = PL_strdup(aString);
|
||||
|
||||
identity->GetUserEmail(&aString);
|
||||
identity->GetEmail(&aString);
|
||||
if (aString)
|
||||
m_userEmail = PL_strdup(aString);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user