From 7240b2198bb6623dad2d19e406c140757001f2f1 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 28 Apr 2017 06:03:04 +0000 Subject: [PATCH] Missed protocol ... --- include/diaspora.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/diaspora.php b/include/diaspora.php index b926f21da9..b3af9cc64a 100644 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -1630,6 +1630,8 @@ class Diaspora { $datarray = array(); + $datarray["protocol"] = PROTOCOL_DIASPORA; + $datarray["uid"] = $importer["uid"]; $datarray["contact-id"] = $author_contact["cid"]; $datarray["network"] = $author_contact["network"]; @@ -1921,6 +1923,7 @@ class Diaspora { if ($self && $contact["rel"] == CONTACT_IS_FOLLOWER) { $arr = array(); + $arr["protocol"] = PROTOCOL_DIASPORA; $arr["uri"] = $arr["parent-uri"] = item_new_uri($a->get_hostname(), $importer["uid"]); $arr["uid"] = $importer["uid"]; $arr["contact-id"] = $self[0]["id"]; -- 2.39.5