aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-11-18 22:04:41 -0800
committerfriendica <info@friendica.com>2011-11-18 22:04:41 -0800
commitfd4fe24406edb277814c7a45a6094a8eec0850d7 (patch)
tree7db5bceb30a569b035c600313a9dbbf66b14abac /include/diaspora.php
parent485f97b3d8937f219e2b9f3c662ee0e1966130eb (diff)
parent6893df991edfe971871a5db45055b40b871a7a4f (diff)
downloadvolse-hubzilla-fd4fe24406edb277814c7a45a6094a8eec0850d7.tar.gz
volse-hubzilla-fd4fe24406edb277814c7a45a6094a8eec0850d7.tar.bz2
volse-hubzilla-fd4fe24406edb277814c7a45a6094a8eec0850d7.zip
Merge branch 'master' into groups
Diffstat (limited to 'include/diaspora.php')
-rw-r--r--include/diaspora.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index ff0c0c0d7..36457655e 100644
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -455,7 +455,9 @@ function diaspora_request($importer,$xml) {
intval($importer['uid'])
);
- if(count($self)) {
+ // they are not CONTACT_IS_FOLLOWER anymore but that's what we have in the array
+
+ if(count($self) && $contact['rel'] == CONTACT_IS_FOLLOWER) {
$arr = array();
$arr['uri'] = $arr['parent-uri'] = item_new_uri($a->get_hostname(), $importer['uid']);