зеркало из https://github.com/mozilla/pjs.git
don't issue myrights command on /noselect folders, patch by brian.lu@sun.com, r/sr=bienvenu 222394
This commit is contained in:
Родитель
4ff99aef8b
Коммит
8bc42eb38d
|
@ -5907,6 +5907,9 @@ void nsImapProtocol::GetMyRightsForFolder(const char *mailboxName)
|
|||
nsCString command(GetServerCommandTag());
|
||||
char *escapedName = CreateEscapedMailboxName(mailboxName);
|
||||
|
||||
if (MailboxIsNoSelectMailbox(escapedName))
|
||||
return; // Don't issue myrights on Noselect folder
|
||||
|
||||
command.Append(" myrights \"");
|
||||
command.Append(escapedName);
|
||||
command.Append("\"" CRLF);
|
||||
|
|
Загрузка…
Ссылка в новой задаче