mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-16 02:38:51 +00:00
feat(mail): Add a setting to show the attachments above the mail body
This commit is contained in:
@@ -462,7 +462,12 @@
|
||||
// Trusted content that can be compiled (Angularly-speaking)
|
||||
part.compile = true;
|
||||
if (!Object.hasOwn(part, 'shouldDisplayAttachment') || 1 == part.shouldDisplayAttachment ) {
|
||||
parts.push(part);
|
||||
if(Message.$Preferences.defaults.SOGoMailDisplayAttachmentAbove) {
|
||||
parts.unshift(part);
|
||||
}
|
||||
else {
|
||||
parts.push(part);
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user