mirror of
https://github.com/friendica/friendica
synced 2025-04-29 19:44:22 +02:00
Improved server detection / gsid introduced
This commit is contained in:
parent
a77c0194dc
commit
95b4f35a12
6 changed files with 412 additions and 51 deletions
|
@ -291,6 +291,10 @@ class APContact
|
|||
$apcontact['baseurl'] = null;
|
||||
}
|
||||
|
||||
if (!empty($apcontact['baseurl'])) {
|
||||
$apcontact['gsid'] = GServer::getID($apcontact['baseurl']);
|
||||
}
|
||||
|
||||
if ($apcontact['url'] == $apcontact['alias']) {
|
||||
$apcontact['alias'] = null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue