mirror of
https://github.com/friendica/friendica
synced 2025-04-26 05:10:11 +00:00
The handle (user@domain.tld) for Diaspora contacts must always be lowercase
This commit is contained in:
parent
9fa4a3bac6
commit
80bfcc7694
2 changed files with 7 additions and 4 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue