fix linkify_tags() so it works with xchans across multiple protocols, also some fixes to activity parsing from upstream.

This commit is contained in:
zotlabs
2019-02-03 16:53:49 -08:00
parent a56bc0e1e0
commit 8ff9a9ff08
11 changed files with 135 additions and 84 deletions

View File

@@ -34,7 +34,7 @@ class Mail extends \Zotlabs\Web\Controller {
}
else {
$body = cleanup_bbcode($body);
$results = linkify_tags($a, $body, local_channel());
$results = linkify_tags($body, local_channel());
if(preg_match_all('/(\[attachment\](.*?)\[\/attachment\])/',$body,$match)) {
$attachments = array();
@@ -111,7 +111,7 @@ class Mail extends \Zotlabs\Web\Controller {
}
require_once('include/text.php');
linkify_tags($a, $body, local_channel());
linkify_tags($body, local_channel());
if(! $recipient) {