aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-11-15 23:12:56 -0800
committerfriendica <info@friendica.com>2011-11-15 23:12:56 -0800
commit7b58de743a5b0694792e744a004a37584a3c8ccb (patch)
tree0a113759ae59e60a17b793e349376a153a006bbf /include/diaspora.php
parent3bd2b731b2040e1025caef68e7da1f07907ae809 (diff)
downloadvolse-hubzilla-7b58de743a5b0694792e744a004a37584a3c8ccb.tar.gz
volse-hubzilla-7b58de743a5b0694792e744a004a37584a3c8ccb.tar.bz2
volse-hubzilla-7b58de743a5b0694792e744a004a37584a3c8ccb.zip
add a few more sql indexes
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']);