aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Activity.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-09-26 18:10:34 +0000
committerMario <mario@mariovavti.com>2021-09-26 18:10:34 +0000
commit0117a0019be0bdf8087f72f8c70d7eedcd4bfe0a (patch)
tree9a75075ac550a340846ed180a55de084cac2135a /Zotlabs/Lib/Activity.php
parent35ff8781f0a9a46f60ad3f6c28dedb7345899ff2 (diff)
downloadvolse-hubzilla-0117a0019be0bdf8087f72f8c70d7eedcd4bfe0a.tar.gz
volse-hubzilla-0117a0019be0bdf8087f72f8c70d7eedcd4bfe0a.tar.bz2
volse-hubzilla-0117a0019be0bdf8087f72f8c70d7eedcd4bfe0a.zip
make sure to also include ap hublocs here. we will select zot6 later in the function if present
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r--Zotlabs/Lib/Activity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 6c06135ec..c355aa26e 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -3538,7 +3538,7 @@ class Activity {
static function find_best_identity($xchan) {
if (filter_var($xchan, FILTER_VALIDATE_URL)) {
- $r = q("select hubloc_hash, hubloc_network from hubloc where hubloc_id_url = '%s' and hubloc_network = 'zot6' and hubloc_deleted = 0",
+ $r = q("SELECT hubloc_hash, hubloc_network FROM hubloc WHERE hubloc_id_url = '%s' AND hubloc_network IN ('zot6', 'activitypub') AND hubloc_deleted = 0",
dbesc($xchan)
);
if ($r) {