Fix for bug 179082. We need to insert a decoder even when we edit an encrypted message. R=kaie, SR=sspitzer

This commit is contained in:
ducarroz%netscape.com 2002-11-12 19:22:37 +00:00
parent c0dc750492
commit 97c3852a16

View File

@ -1965,7 +1965,7 @@ mime_decompose_file_init_fn ( void *stream_closure, MimeHeaders *headers )
//
// Initialize a decoder if necessary.
//
if (!newAttachment->encoding || mdd->options->decrypt_p)
if (!newAttachment->encoding)
;
else if (!nsCRT::strcasecmp(newAttachment->encoding, ENCODING_BASE64))
fn = &MimeB64DecoderInit;