From 45e6e1883fbd2a4edb198f039d78721d943b19a1 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Tue, 17 Sep 2024 07:45:05 +1000 Subject: [PATCH 1/2] incorrect pointer to collections --- src/Lib/ActivityPub.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Lib/ActivityPub.php b/src/Lib/ActivityPub.php index 8b552b1a4..4f80c9b3b 100644 --- a/src/Lib/ActivityPub.php +++ b/src/Lib/ActivityPub.php @@ -227,7 +227,7 @@ class ActivityPub if (!in_array($x['recipient']['xchan_network'], ['activitypub', 'apnomadic'])) { return; } - $collections = XConfig::Get($x['recipient']['xchan_hash'], 'system', 'collections', []); + $collections = XConfig::Get($x['recipient']['xchan_hash'], 'activitypub', 'collections', []); if ($collections) { $their_perms = Activity::getPermissions($collections, $x['sender']); if ($their_perms) { @@ -252,7 +252,7 @@ class ActivityPub return; } - $collections = XConfig::Get($x['recipient']['xchan_hash'], 'system', 'collections', []); + $collections = XConfig::Get($x['recipient']['xchan_hash'], 'activitypub', 'collections', []); if ($collections) { $their_perms = Activity::getPermissions($collections, $x['sender']); if ($their_perms) { From 82d25847a61f4394a00d7944ad5a74b6ade5a547 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Tue, 17 Sep 2024 07:46:37 +1000 Subject: [PATCH 2/2] version --- version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.php b/version.php index 306ca2f7f..00b6e866b 100644 --- a/version.php +++ b/version.php @@ -1,2 +1,2 @@