aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ThreadItem.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-07-20 11:46:40 +0000
committerMario <mario@mariovavti.com>2023-07-20 11:46:40 +0000
commit5181e575b4eb91de3ec71a125d45c29e65372c76 (patch)
tree71c2c8f7b6efe2ba9232c04324057cc982c136db /Zotlabs/Lib/ThreadItem.php
parentca994735bee5f479d840da13674b38c40930ba98 (diff)
downloadvolse-hubzilla-5181e575b4eb91de3ec71a125d45c29e65372c76.tar.gz
volse-hubzilla-5181e575b4eb91de3ec71a125d45c29e65372c76.tar.bz2
volse-hubzilla-5181e575b4eb91de3ec71a125d45c29e65372c76.zip
fix accesslist in two cases
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-rw-r--r--Zotlabs/Lib/ThreadItem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php
index 7fa621470..7d2bcde56 100644
--- a/Zotlabs/Lib/ThreadItem.php
+++ b/Zotlabs/Lib/ThreadItem.php
@@ -101,7 +101,7 @@ class ThreadItem {
$conv = $this->get_conversation();
$observer = $conv->get_observer();
- $acl = new AccessList(false);
+ $acl = new AccessList([]);
$acl->set($item);
$lock = ((intval($item['item_private']) || ($item['uid'] == local_channel() && $acl->is_private()))