From 05d3eb59ecdaf757dd2822a65a13b72311307a72 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sat, 26 Feb 2011 01:53:18 -0800 Subject: status.net mentions to non-followers require the numeric profile URL, not the nickname profile URL. Though it works when they are a follower. --- boot.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 4a0acef93..06cf5b760 100644 --- a/boot.php +++ b/boot.php @@ -1941,8 +1941,10 @@ function get_mentions($item) { $arr = explode(',',$item['tag']); foreach($arr as $x) { $matches = null; - if(preg_match('/@\[url=([^\]]*)\]/',$x,$matches)) + if(preg_match('/@\[url=([^\]]*)\]/',$x,$matches)) { $o .= "\t\t" . '' . "\r\n"; + $o .= "\t\t" . '' . "\r\n"; + } } return $o; }} -- cgit v1.2.3