mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-17 17:28:12 +00:00
feat(mail): Add a setting to show the attachments above the mail body
This commit is contained in:
1 parent
a077512e34
commit
5d616600df
9 files changed
+39
-6
No files matched your search
@@ -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