summaryrefslogtreecommitdiff
path: root/lib/kolab_sync_data_email.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-08-31 10:06:06 (GMT)
committerAleksander Machniak <alec@alec.pl>2012-08-31 10:06:06 (GMT)
commite5d80ca009bb4ccec86ab76be426409b2cec7510 (patch)
tree42f54bf2a18fe3dd53bb73eacdd19cca173b6606 /lib/kolab_sync_data_email.php
parent866e8e53f953d415a8fbbba155e90805a6878ed0 (diff)
downloadkolab-syncroton-e5d80ca009bb4ccec86ab76be426409b2cec7510.tar.gz
Implemented Body conversion between plain and html text formats
Diffstat (limited to 'lib/kolab_sync_data_email.php')
-rw-r--r--lib/kolab_sync_data_email.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kolab_sync_data_email.php b/lib/kolab_sync_data_email.php
index 0d62a8c..2f0aaaa 100644
--- a/lib/kolab_sync_data_email.php
+++ b/lib/kolab_sync_data_email.php
@@ -245,7 +245,7 @@ class kolab_sync_data_email extends kolab_sync_data implements Syncroton_Data_ID
$truncateAt = 0;
$body_length = 0;
}
- else if ($airSyncBaseType == 4) {
+ else if ($airSyncBaseType == Syncroton_Command_Sync::BODY_TYPE_MIME) {
$messageBody = $this->storage->get_raw_body($message->uid);
// strip out any non utf-8 characters
$messageBody = rcube_charset::clean($messageBody);