From 4bc4f5b2a6507a09357c16d6e5f1c5ea928dbdb3 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 7 Feb 2024 15:56:54 +0000 Subject: update docu and remove redundant pernission check after vonv fetch fixes --- Zotlabs/Lib/Libzot.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php index 002ccedfc..12edafb8d 100644 --- a/Zotlabs/Lib/Libzot.php +++ b/Zotlabs/Lib/Libzot.php @@ -1791,15 +1791,12 @@ class Libzot { // Conversation fetches (e.g. $request == true) take place for // a) new comments on expired posts // b) manual import of posts via search (in this case force will be true) - // c) import of conversations from friends of friends (those will currently only be accepted in the public stream) + // c) import of conversations from friends of friends (they can currently arriuve from streams if a channel is configured to do so) - // If it is a toplevel post check permissions for the item author instead of the sender (we might want to remove this if we want friend of friend posts in the network stream). // Comments of all these activities are allowed and will only be rejected (later) if the parent // doesn't exist. if ($perm === 'send_stream') { - $allowed = perm_is_allowed($channel['channel_id'], $arr['author_xchan'], $perm); - if ($force) { $allowed = true; } -- cgit v1.2.3