]> git.mxchange.org Git - friendica.git/commitdiff
Missed protocol ...
authorMichael <heluecht@pirati.ca>
Fri, 28 Apr 2017 06:03:04 +0000 (06:03 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 28 Apr 2017 06:03:04 +0000 (06:03 +0000)
include/diaspora.php

index b926f21da934ef63ffbf9d4a3ff3fa183f248e80..b3af9cc64a48beb9ba0cc00978d9b91e1c91fb27 100644 (file)
@@ -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"];