Merge pull request #2151 from annando/1512-misconfigured-friendica
Workaround for misconfigured Friendica servers with probe_url
This commit is contained in:
commit
d944b65253
2 changed files with 40 additions and 0 deletions
|
@ -24,6 +24,7 @@ function noscrape_init(&$a) {
|
|||
|
||||
$json_info = array(
|
||||
'fn' => $a->profile['name'],
|
||||
'addr' => $a->profile['addr'],
|
||||
'key' => $a->profile['pubkey'],
|
||||
'homepage' => $a->get_baseurl()."/profile/{$which}",
|
||||
'comm' => (x($a->profile,'page-flags')) && ($a->profile['page-flags'] == PAGE_COMMUNITY),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue