effects thunderbird only until this ifdef gets properly removed. Bug #214764 --> 'Click here to download rest of message' feature does not work for thunderbird because we weren't running the pop url.

sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@148160 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scott%scott-macgregor.org 2003-10-20 17:18:52 +00:00
parent dbce9291be
commit 06e0ba0b58

View File

@ -575,25 +575,16 @@ nsWebShell::OnLinkClickSync(nsIContent *aContent,
static const char kSnewsURI[] = "snews";
static const char kNntpURI[] = "nntp";
static const char kImapURI[] = "imap";
if (scheme.EqualsIgnoreCase(kMailToURI))
{
// the scheme is mailto, we can handle it
}
else if (scheme.EqualsIgnoreCase(kNewsURI))
{
// the scheme is news, we can handle it
}
else if (scheme.EqualsIgnoreCase(kSnewsURI))
{
// the scheme is snews, we can handle it
}
else if (scheme.EqualsIgnoreCase(kNntpURI))
{
// the scheme is nntp, we can handle it
} else if (scheme.EqualsIgnoreCase(kImapURI))
{
// the scheme is imap, we can handle it
static const char kAddbookURI[] = "addbook";
static const char kPopURI[] = "pop";
static const char kMailboxURI[] = "mailbox";
if (scheme.EqualsIgnoreCase(kMailToURI) || scheme.EqualsIgnoreCase(kNewsURI) || scheme.EqualsIgnoreCase(kSnewsURI) ||
scheme.EqualsIgnoreCase(kNntpURI) || scheme.EqualsIgnoreCase(kImapURI) || scheme.EqualsIgnoreCase(kAddbookURI) ||
scheme.EqualsIgnoreCase(kPopURI) || scheme.EqualsIgnoreCase(kMailboxURI))
{
// we can handle all mail schemes
} else
{
// we don't handle this type, the the registered handler take it