diff options
author | Mario <mario@mariovavti.com> | 2024-09-18 15:09:10 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-09-18 15:09:10 +0000 |
commit | fdf19e659e711c6e3491261e70b5555637c9e600 (patch) | |
tree | 73949c89a2f0a6f532a63e8c327b61cfaa1abe5b | |
parent | e79958978122596e0b0beb89b843b055fb02893e (diff) | |
download | volse-hubzilla-fdf19e659e711c6e3491261e70b5555637c9e600.tar.gz volse-hubzilla-fdf19e659e711c6e3491261e70b5555637c9e600.tar.bz2 volse-hubzilla-fdf19e659e711c6e3491261e70b5555637c9e600.zip |
not yet ready for primetime
-rw-r--r-- | Zotlabs/Module/Item.php | 5 | ||||
-rw-r--r-- | include/conversation.php | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php index 5618137a1..9b4896cd0 100644 --- a/Zotlabs/Module/Item.php +++ b/Zotlabs/Module/Item.php @@ -898,6 +898,11 @@ class Item extends Controller { */ if (!$preview) { + + hz_syslog(print_r($gacl, true)); + + + //if ($parent_item && ($parent_item['owner_xchan'] === $channel['channel_hash'])) fix_attached_permissions($profile_uid, ((strpos($body, '[/crypt]')) ? $_POST['media_str'] : $body), $str_contact_allow, $str_group_allow, $str_contact_deny, $str_group_deny, $token); //fix_attached_photo_permissions($profile_uid, $owner_xchan['xchan_hash'], ((strpos($body, '[/crypt]')) ? $_POST['media_str'] : $body), $str_contact_allow, $str_group_allow, $str_contact_deny, $str_group_deny, $token); //fix_attached_file_permissions($channel, $observer['xchan_hash'], ((strpos($body, '[/crypt]')) ? $_POST['media_str'] : $body), $str_contact_allow, $str_group_allow, $str_contact_deny, $str_group_deny, $token); diff --git a/include/conversation.php b/include/conversation.php index ee599c28d..25acd8e4b 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -452,7 +452,7 @@ function conversation($items, $mode, $update, $page_mode = 'traditional', $prepa // Allow uploading if OCAP tokens are enabled if (PConfig::Get(local_channel(), 'system', 'ocap_enabled')) { - $uploading = true; + // $uploading = true; } } |