aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Libzot.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-02-07 15:56:54 +0000
committerMario <mario@mariovavti.com>2024-02-07 15:56:54 +0000
commit4bc4f5b2a6507a09357c16d6e5f1c5ea928dbdb3 (patch)
tree091bad3d501a8d18c8fbf7cb415990e1cc0d2161 /Zotlabs/Lib/Libzot.php
parent5f2e80849753928ee30e8420750b6218c64b4e25 (diff)
downloadvolse-hubzilla-4bc4f5b2a6507a09357c16d6e5f1c5ea928dbdb3.tar.gz
volse-hubzilla-4bc4f5b2a6507a09357c16d6e5f1c5ea928dbdb3.tar.bz2
volse-hubzilla-4bc4f5b2a6507a09357c16d6e5f1c5ea928dbdb3.zip
update docu and remove redundant pernission check after vonv fetch fixes
Diffstat (limited to 'Zotlabs/Lib/Libzot.php')
-rw-r--r--Zotlabs/Lib/Libzot.php5
1 files changed, 1 insertions, 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;
}