Skip to content

Commit

Permalink
Do not need to add default bodypref truncation for email collections.
Browse files Browse the repository at this point in the history
...and in fact this can break loading large attachments when the client
requests mime data.
  • Loading branch information
mrubinsk committed Nov 21, 2014
1 parent 35655a2 commit 5bd736e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Core/lib/Horde/Core/ActiveSync/Driver.php
Expand Up @@ -1268,7 +1268,7 @@ public function getMessage($folderid, $id, array $collection)
'truncation' => !empty($collection['truncation'])
? $collection['truncation']
: (!empty($collection['mimetruncation']) ? $collection['mimetruncation'] : false),
'bodyprefs' => $this->addDefaultBodyPrefTruncation($collection['bodyprefs']),
'bodyprefs' => $collection['bodyprefs'],
'mimesupport' => $collection['mimesupport']
)
);
Expand Down

0 comments on commit 5bd736e

Please sign in to comment.