Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117817043
D147.1775286963.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D147.1775286963.diff
View Options
diff --git a/lib/ext/Syncroton/Command/ItemOperations.php b/lib/ext/Syncroton/Command/ItemOperations.php
--- a/lib/ext/Syncroton/Command/ItemOperations.php
+++ b/lib/ext/Syncroton/Command/ItemOperations.php
@@ -251,7 +251,11 @@
}
}
}
-
+
+ if(isset($fetch->Options->MIMESupport)){
+ $fetchArray['options']['mimeSupport']=(int)$fetch->Options->MIMESupport;
+ }
+
if (isset($airSyncBase->Range)) {
$fetchArray['options']['range'] = (string) $airSyncBase->Range;
}
diff --git a/lib/kolab_sync_data_email.php b/lib/kolab_sync_data_email.php
--- a/lib/kolab_sync_data_email.php
+++ b/lib/kolab_sync_data_email.php
@@ -319,8 +319,15 @@
$result['nativeBodyType'] = $message->has_html_part() ? 2 : 1;
// Message class
- // @TODO: add messageClass suffix for encrypted messages
- $result['messageClass'] = 'IPM.Note';
+ if($headers->ctype == 'multipart/signed' && $struct->parts[1] && $struct->parts[1]->mimetype == 'application/pkcs7-signature' ){
+ $result['messageClass'] = 'IPM.Note.SMIME.MultipartSigned';
+ }
+ elseif($headers->ctype == 'application/pkcs7-mime' || $headers->ctype == 'application/x-pkcs7-mime'){
+ $result['messageClass'] = 'IPM.Note.SMIME';
+ }
+ else{
+ $result['messageClass'] = 'IPM.Note';
+ }
$result['contentClass'] = 'urn:content-classes:message';
// Categories (Tags)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 4, 7:16 AM (6 d, 20 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18782805
Default Alt Text
D147.1775286963.diff (1 KB)
Attached To
Mode
D147: Fix S/MIME handling in syncroton (T1229)
Attached
Detach File
Event Timeline