mirror of
https://github.com/friendica/friendica
synced 2025-04-27 09:50:12 +00:00
pull out follow, unfollow and as:actor for handling
This commit is contained in:
parent
16b9c58412
commit
d850badf2b
3 changed files with 59 additions and 7 deletions
|
@ -48,6 +48,7 @@ function get_salmon_key($uri,$keyhash) {
|
|||
$l = explode("\n",$h);
|
||||
if(count($l)) {
|
||||
foreach($l as $line) {
|
||||
// TODO alter the following regex to support multiple relations (space separated)
|
||||
if((stristr($line,'link:')) && preg_match('/<([^>].*)>.*rel\=[\'\"]lrdd[\'\"]/',$line,$matches)) {
|
||||
$link = $matches[1];
|
||||
if($debugging)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue