diff options
author | Friendika <info@friendika.com> | 2011-02-26 01:53:18 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-02-26 01:53:18 -0800 |
commit | 05d3eb59ecdaf757dd2822a65a13b72311307a72 (patch) | |
tree | f826302a5838c941a7292bde6f18fdda9c389f14 /boot.php | |
parent | 4efa0f1e813970b3fbd5f95fdc2a7d8ca767ca0e (diff) | |
download | volse-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.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; }} |