]> git.mxchange.org Git - friendica.git/blobdiff - include/Probe.php
Merge remote-tracking branch 'upstream/develop' into 1610-performance-nodeinfo
[friendica.git] / include / Probe.php
index 7cda542d0b45659545dc2bb19719ff7085b87af8..44824103b452042dfd93c1bdc7fc414a4d39ec44 100644 (file)
@@ -788,6 +788,9 @@ class Probe {
                        isset($data["pubkey"]) AND ($hcard != "")) {
                        $data["network"] = NETWORK_DIASPORA;
 
+                       // The Diaspora handle must always be lowercase
+                       $data["addr"] = strtolower($data["addr"]);
+
                        // We have to overwrite the detected value for "notify" since Hubzilla doesn't send it
                        $data["notify"] = $data["baseurl"]."/receive/users/".$data["guid"];
                        $data["batch"] = $data["baseurl"]."/receive/public";