]> git.mxchange.org Git - friendica.git/commitdiff
Prune unavailable contacts from AP envelope
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 17 Aug 2019 04:00:49 +0000 (00:00 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 17 Aug 2019 04:00:49 +0000 (00:00 -0400)
src/Protocol/ActivityPub/Transmitter.php

index b64e746e79c3db4e48e7e0ad0cf7f5d07c785424..e44ae1cf66c2dfa4ff9413cc2b457d10fbb39279 100644 (file)
@@ -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']);