aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-01-24 16:44:42 +0000
committerMario <mario@mariovavti.com>2024-01-24 16:44:42 +0000
commite513950cb5a16a996b60335716e101663dfa6393 (patch)
tree8935e2996bfe61ff704d2d9cdbd8feaf132f5318 /include
parentadc6390a22f8309e4eba0d9f37eabb132ec2c78d (diff)
downloadvolse-hubzilla-e513950cb5a16a996b60335716e101663dfa6393.tar.gz
volse-hubzilla-e513950cb5a16a996b60335716e101663dfa6393.tar.bz2
volse-hubzilla-e513950cb5a16a996b60335716e101663dfa6393.zip
restructure Libzot::process_delivery()
Diffstat (limited to 'include')
-rw-r--r--include/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index d628fb29e..56534c4e4 100644
--- a/include/items.php
+++ b/include/items.php
@@ -353,7 +353,7 @@ function can_comment_on_post($observer_xchan, $item) {
case 'specific':
case 'contacts':
case '':
- if(local_channel() && get_abconfig(local_channel(), (($item['verb'] === ACTIVITY_SHARE) ? $item['author_xchan'] : $item['owner_xchan']), 'their_perms', 'post_comments')) {
+ if(local_channel() && get_abconfig(local_channel(), (($item['verb'] === ACTIVITY_SHARE) ? $item['source_xchan'] : $item['owner_xchan']), 'their_perms', 'post_comments')) {
return true;
}
if(intval($item['item_wall']) && perm_is_allowed($item['uid'],$observer_xchan,'post_comments')) {