Missed protocol ...
This commit is contained in:
parent
782783aa52
commit
7240b2198b
1 changed files with 3 additions and 0 deletions
|
@ -1630,6 +1630,8 @@ class Diaspora {
|
||||||
|
|
||||||
$datarray = array();
|
$datarray = array();
|
||||||
|
|
||||||
|
$datarray["protocol"] = PROTOCOL_DIASPORA;
|
||||||
|
|
||||||
$datarray["uid"] = $importer["uid"];
|
$datarray["uid"] = $importer["uid"];
|
||||||
$datarray["contact-id"] = $author_contact["cid"];
|
$datarray["contact-id"] = $author_contact["cid"];
|
||||||
$datarray["network"] = $author_contact["network"];
|
$datarray["network"] = $author_contact["network"];
|
||||||
|
@ -1921,6 +1923,7 @@ class Diaspora {
|
||||||
if ($self && $contact["rel"] == CONTACT_IS_FOLLOWER) {
|
if ($self && $contact["rel"] == CONTACT_IS_FOLLOWER) {
|
||||||
|
|
||||||
$arr = array();
|
$arr = array();
|
||||||
|
$arr["protocol"] = PROTOCOL_DIASPORA;
|
||||||
$arr["uri"] = $arr["parent-uri"] = item_new_uri($a->get_hostname(), $importer["uid"]);
|
$arr["uri"] = $arr["parent-uri"] = item_new_uri($a->get_hostname(), $importer["uid"]);
|
||||||
$arr["uid"] = $importer["uid"];
|
$arr["uid"] = $importer["uid"];
|
||||||
$arr["contact-id"] = $self[0]["id"];
|
$arr["contact-id"] = $self[0]["id"];
|
||||||
|
|
Loading…
Reference in a new issue