diff options
author | Mario <mario@mariovavti.com> | 2023-06-23 09:13:51 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-06-23 09:13:51 +0000 |
commit | cd26ead043f9cb92ca4d59e587480520cb51f117 (patch) | |
tree | 6ffd776a1fa31f6dfb8462bd71c6a0b62157d3b2 /Zotlabs/Lib/ThreadItem.php | |
parent | 6a560cfec4628ac5c727578c1360f84c569ee6b7 (diff) | |
download | volse-hubzilla-cd26ead043f9cb92ca4d59e587480520cb51f117.tar.gz volse-hubzilla-cd26ead043f9cb92ca4d59e587480520cb51f117.tar.bz2 volse-hubzilla-cd26ead043f9cb92ca4d59e587480520cb51f117.zip |
implement optional moderation of unsolicited comments, minor css fixes and some more work on ocap
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-rw-r--r-- | Zotlabs/Lib/ThreadItem.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index cf877ed92..14c9500ff 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -503,7 +503,10 @@ class ThreadItem { 'thread_level' => $thread_level, 'settings' => $settings, 'thr_parent' => (($item['parent_mid'] != $item['thr_parent']) ? gen_link_id($item['thr_parent']) : ''), - 'contact_id' => (($contact) ? $contact['abook_id'] : '') + 'contact_id' => (($contact) ? $contact['abook_id'] : ''), + 'moderate' => ($item['item_blocked'] == ITEM_MODERATED), + 'moderate_approve' => t('Approve'), + 'moderate_delete' => t('Delete') ); |