return preview also if we have no attachment

This commit is contained in:
git-marijus 2017-08-03 14:08:34 +02:00
parent 2a34a497d5
commit d183e47dc9

View File

@ -53,8 +53,8 @@ class Mail extends \Zotlabs\Web\Controller {
} }
$body = trim(str_replace($match[1],'',$body)); $body = trim(str_replace($match[1],'',$body));
} }
echo json_encode(['preview' => zidify_links(smilies(bbcode($body)))]);
} }
echo json_encode(['preview' => zidify_links(smilies(bbcode($body)))]);
} }
killme(); killme();
} }