From: Michael Date: Thu, 30 Aug 2018 09:52:38 +0000 (+0000) Subject: Fix: Missing gserver entries - show correct server platform X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a3570d00273b974270620ccbd5e080d628f422ec;p=friendica.git Fix: Missing gserver entries - show correct server platform --- diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 3e70a5cbde..d53126f6ff 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -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