diff options
author | zotlabs <mike@macgirvin.com> | 2017-06-18 22:25:41 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-06-18 22:25:41 -0700 |
commit | b917cf1eccc62f5f533c0a61ffd699764b39e404 (patch) | |
tree | 09c849b0a4e545a360ad6910a2cf322d98dbc494 /Zotlabs/Lib/ThreadStream.php | |
parent | 4d5469f27ed2bea05dcfc4c286a9d14413a9e6b6 (diff) | |
download | volse-hubzilla-b917cf1eccc62f5f533c0a61ffd699764b39e404.tar.gz volse-hubzilla-b917cf1eccc62f5f533c0a61ffd699764b39e404.tar.bz2 volse-hubzilla-b917cf1eccc62f5f533c0a61ffd699764b39e404.zip |
allow moderated comments like wordpress if permissions are compatible
Diffstat (limited to 'Zotlabs/Lib/ThreadStream.php')
-rw-r--r-- | Zotlabs/Lib/ThreadStream.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ThreadStream.php b/Zotlabs/Lib/ThreadStream.php index beb626f31..1fd746c38 100644 --- a/Zotlabs/Lib/ThreadStream.php +++ b/Zotlabs/Lib/ThreadStream.php @@ -158,7 +158,7 @@ class ThreadStream { if(intval($item->get_data_value('item_nocomment'))) { $item->set_commentable(false); } - elseif(($this->observer) && (! $item->is_commentable())) { + elseif(! $item->is_commentable()) { if((array_key_exists('owner',$item->data)) && intval($item->data['owner']['abook_self'])) $item->set_commentable(perm_is_allowed($this->profile_owner,$ob_hash,'post_comments')); else |