forked from Silverfish/proton-bridge
GODT-213: Use application/octet-stream for encrypted parts
This commit is contained in:
@ -146,6 +146,12 @@ func writeTextPart(
|
||||
return errors.Wrap(ErrDecryptionFailed, err.Error())
|
||||
}
|
||||
|
||||
/*
|
||||
if len(msg.Attachments) > 0 {
|
||||
return writeCustomTextPartAsAttachment(w, msg, err)
|
||||
}
|
||||
*/
|
||||
|
||||
return writeCustomTextPart(w, msg, err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user