зеркало из https://github.com/mozilla/pjs.git
fix save as draft on imap servers that don't like empty flag list sr=mscott 248240
This commit is contained in:
Родитель
644a66a1e2
Коммит
824cfec9df
|
@ -5123,12 +5123,17 @@ void nsImapProtocol::UploadMessageFromFile (nsIFileSpec* fileSpec,
|
|||
{
|
||||
command.Append(" append \"");
|
||||
command.Append(escapedName);
|
||||
command.Append("\" (");
|
||||
command.Append("\"");
|
||||
if (flags)
|
||||
{
|
||||
command.Append(" (");
|
||||
|
||||
SetupMessageFlagsString(flagString, flags,
|
||||
GetServerStateParser().SupportsUserFlags());
|
||||
command.Append(flagString);
|
||||
command.Append(") {");
|
||||
SetupMessageFlagsString(flagString, flags,
|
||||
GetServerStateParser().SupportsUserFlags());
|
||||
command.Append(flagString);
|
||||
command.Append(")");
|
||||
}
|
||||
command.Append(" {");
|
||||
|
||||
dataBuffer = (char*) PR_CALLOC(COPY_BUFFER_SIZE+1);
|
||||
if (!dataBuffer) goto done;
|
||||
|
|
Загрузка…
Ссылка в новой задаче