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

@@ -44,7 +44,7 @@ function send_message($uid = 0, $recipient = '', $body = '', $subject = '', $rep
$body = cleanup_bbcode($body);
$results = linkify_tags($a, $body, $uid);
$results = linkify_tags($body, $uid);
if(! $raw) {
if(preg_match_all("/\[attachment\](.*?)\[\/attachment\]/",((strpos($body,'[/crypt]')) ? $_POST['media_str'] : $body),$match)) {