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
This commit is contained in:
scott%scott-macgregor.org 2003-10-20 17:18:52 +00:00
Родитель 6dad2abdab
Коммит e0f0bcd640
1 изменённых файлов: 10 добавлений и 19 удалений

Просмотреть файл

@ -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