Fix: Missing gserver entries - show correct server platform

pull/5703/head
Michael 2018-08-30 09:52:38 +00:00
rodzic 070e1e73d6
commit a3570d0027
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -1076,6 +1076,11 @@ class Contact extends BaseObject
if (empty($data)) {
$data = Probe::uri($url, "", $uid);
// Ensure that there is a gserver entry
if (!empty($data['baseurl']) && ($data['network'] != Protocol::PHANTOM)) {
PortableContact::checkServer($data['baseurl']);
}
}
// Last try in gcontact for unsupported networks