aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-05-17 09:09:24 +0000
committerMario <mario@mariovavti.com>2021-05-17 09:09:24 +0000
commita46e340a1344a2bdd8d371abf5b1891a49570c1b (patch)
treeeee5d5d54d9a3c9ffd48b744e573de817a04c352
parent70c3cd99acab174e18f621942b0e20c5add6cec2 (diff)
downloadvolse-hubzilla-a46e340a1344a2bdd8d371abf5b1891a49570c1b.tar.gz
volse-hubzilla-a46e340a1344a2bdd8d371abf5b1891a49570c1b.tar.bz2
volse-hubzilla-a46e340a1344a2bdd8d371abf5b1891a49570c1b.zip
Ãmake sure we do not deal with diaspora hublocs here
-rw-r--r--Zotlabs/Lib/ActivityStreams.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ActivityStreams.php b/Zotlabs/Lib/ActivityStreams.php
index ba7ec0c65..a5fb4a756 100644
--- a/Zotlabs/Lib/ActivityStreams.php
+++ b/Zotlabs/Lib/ActivityStreams.php
@@ -304,7 +304,7 @@ class ActivityStreams {
// SECURITY: If we have already stored the actor profile, re-generate it
// from cached data - don't refetch it from the network
- $r = q("select * from xchan left join hubloc on xchan_hash = hubloc_hash where hubloc_id_url = '%s' limit 1",
+ $r = q("select * from xchan join hubloc on xchan_hash = hubloc_hash where hubloc_network in ('zot6', 'activitypub') and hubloc_id_url = '%s'",
dbesc($x)
);
if ($r) {