X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FDiaspora.php;h=551971e504f2e74b090a3226f5cd5f64e5aa5dc0;hb=4d2e5c2bbee82abd80c566051024aa33440ab805;hp=5239255fee83eb2c2f46f1a33d0f52150aeccc77;hpb=60b0759b5011856b69582d5705ae88d867d3cdc9;p=friendica.git diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index 5239255fee..551971e504 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -1598,7 +1598,7 @@ class Diaspora unset($parts['path']); $host_url = Network::unparseURL($parts); - return $host_url . '/object/' . $guid; + return $host_url . '/objects/' . $guid; } return ""; @@ -3200,7 +3200,7 @@ class Diaspora $author = self::myHandle($owner); $message = ["author" => $author, - "guid" => System::UUID(), + "guid" => System::createUUID(), "parent_type" => "Post", "parent_guid" => $item["guid"]];