]> git.mxchange.org Git - friendica.git/blobdiff - include/email.php
New bbcode element: "spoiler". Mail: Top post quotes are now embraced in "spoiler...
[friendica.git] / include / email.php
index a3449a4249934bd965f49c031cb3d8cb90ad77e5..43f04d7c2010f27f7d0ebcdfd4562322b7111c9d 100755 (executable)
@@ -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']);