mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-06 00:10:25 +00:00
This will enable the old quoting hack for non local mailbox messages. This
checkin was approved by chofmann.
This commit is contained in:
parent
d85cbb4d13
commit
db625ad65a
@ -72,7 +72,7 @@ nsMsgCompose::nsMsgCompose()
|
|||||||
nsMsgCompose::~nsMsgCompose()
|
nsMsgCompose::~nsMsgCompose()
|
||||||
{
|
{
|
||||||
NS_IF_RELEASE(mOutStream);
|
NS_IF_RELEASE(mOutStream);
|
||||||
NS_RELEASE(m_editor);
|
NS_IF_RELEASE(m_editor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -677,7 +677,21 @@ nsMsgCompose::QuoteOriginalMessage(const PRUnichar *originalMsgURI, PRInt32 what
|
|||||||
//
|
//
|
||||||
// For now, you need to set a pref to do the old quoting
|
// For now, you need to set a pref to do the old quoting
|
||||||
//
|
//
|
||||||
PRBool oldQuoting = PR_FALSE;
|
PRBool oldQuoting = PR_FALSE;
|
||||||
|
|
||||||
|
nsString tmpURI(originalMsgURI);
|
||||||
|
char *compString = tmpURI.ToNewCString();
|
||||||
|
|
||||||
|
if (compString)
|
||||||
|
{
|
||||||
|
if (PL_strncasecmp(compString, "mailbox_message:", 16) != 0)
|
||||||
|
{
|
||||||
|
oldQuoting = PR_TRUE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
PR_FREEIF(compString);
|
||||||
|
|
||||||
NS_WITH_SERVICE(nsIPref, prefs, kPrefCID, &rv);
|
NS_WITH_SERVICE(nsIPref, prefs, kPrefCID, &rv);
|
||||||
if (NS_SUCCEEDED(rv) && prefs)
|
if (NS_SUCCEEDED(rv) && prefs)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user