aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-26 01:53:18 -0800
committerFriendika <info@friendika.com>2011-02-26 01:53:18 -0800
commit05d3eb59ecdaf757dd2822a65a13b72311307a72 (patch)
treef826302a5838c941a7292bde6f18fdda9c389f14 /boot.php
parent4efa0f1e813970b3fbd5f95fdc2a7d8ca767ca0e (diff)
downloadvolse-hubzilla-05d3eb59ecdaf757dd2822a65a13b72311307a72.tar.gz
volse-hubzilla-05d3eb59ecdaf757dd2822a65a13b72311307a72.tar.bz2
volse-hubzilla-05d3eb59ecdaf757dd2822a65a13b72311307a72.zip
status.net mentions to non-followers require the numeric profile URL, not the nickname profile URL. Though it works when they are a follower.
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php4
1 files changed, 3 insertions, 1 deletions
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" . '<link rel="mentioned" href="' . $matches[1] . '" />' . "\r\n";
+ $o .= "\t\t" . '<link rel="ostatus:attention" href="' . $matches[1] . '" />' . "\r\n";
+ }
}
return $o;
}}