From: Hypolite Petovan Date: Sat, 17 Aug 2019 04:00:49 +0000 (-0400) Subject: Prune unavailable contacts from AP envelope X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cf8177461e0b8712f00ca57855774fbe8eaace28;p=friendica.git Prune unavailable contacts from AP envelope --- 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']);