aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-11-17 13:40:27 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2011-11-17 13:40:27 +0100
commit844a36e2b6c9cd8e934b57b7d56b7a9863f12929 (patch)
tree3ba5f23865643ff8c660fb9c9a9eeb44327b8a1b /include/diaspora.php
parent02281be0c3b19bcab3ae3a96475846104af11e92 (diff)
parentc9846b745dfe2a4c20ffe4e1f48bb18da3886fd4 (diff)
downloadvolse-hubzilla-844a36e2b6c9cd8e934b57b7d56b7a9863f12929.tar.gz
volse-hubzilla-844a36e2b6c9cd8e934b57b7d56b7a9863f12929.tar.bz2
volse-hubzilla-844a36e2b6c9cd8e934b57b7d56b7a9863f12929.zip
Merge remote-tracking branch 'friendica/master'
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']);