aboutsummaryrefslogtreecommitdiffstats
path: root/include/email.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-28 15:08:15 -0700
committerfriendica <info@friendica.com>2012-03-28 15:08:15 -0700
commit75f3d41da2d85cb61ac627807011c312b96e3bb1 (patch)
tree2bee850bc2c4c8fcc3e5e53fd941dc77ecbf8d6d /include/email.php
parenta2b1aca27c936991d02ab10d97f1f7980500c460 (diff)
parentbdd275474044152a5d9a33ea6b8a8071b931d27e (diff)
downloadvolse-hubzilla-75f3d41da2d85cb61ac627807011c312b96e3bb1.tar.gz
volse-hubzilla-75f3d41da2d85cb61ac627807011c312b96e3bb1.tar.bz2
volse-hubzilla-75f3d41da2d85cb61ac627807011c312b96e3bb1.zip
Merge pull request #184 from annando/master
Enhancing the API - Preparations for a better facebook export
Diffstat (limited to 'include/email.php')
-rwxr-xr-xinclude/email.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/email.php b/include/email.php
index 8ea8145fb..bd44cb763 100755
--- a/include/email.php
+++ b/include/email.php
@@ -74,7 +74,7 @@ function email_msg_headers($mbox,$uid) {
}
-function email_get_msg($mbox,$uid) {
+function email_get_msg($mbox,$uid, $reply) {
$ret = array();
$struc = (($mbox && $uid) ? @imap_fetchstructure($mbox,$uid,FT_UID) : null);
@@ -114,7 +114,7 @@ function email_get_msg($mbox,$uid) {
$ret['body'] = removegpg($ret['body']);
$msg = removesig($ret['body']);
$ret['body'] = $msg['body'];
- $ret['body'] = convertquote($ret['body'], false);
+ $ret['body'] = convertquote($ret['body'], $reply);
if (trim($html) != '')
$ret['body'] = removelinebreak($ret['body']);