From cf8177461e0b8712f00ca57855774fbe8eaace28 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 17 Aug 2019 00:00:49 -0400 Subject: [PATCH] Prune unavailable contacts from AP envelope --- src/Protocol/ActivityPub/Transmitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index b64e746e79..e44ae1cf66 100644 --- a/src/Protocol/ActivityPub/Transmitter.php +++ b/src/Protocol/ActivityPub/Transmitter.php @@ -386,7 +386,7 @@ class Transmitter } } } else { - $receiver_list = Item::enumeratePermissions($item); + $receiver_list = Item::enumeratePermissions($item, true); foreach ($terms as $term) { $cid = Contact::getIdForURL($term['url'], $item['uid']); -- 2.39.5