diff options
author | zotlabs <mike@macgirvin.com> | 2017-06-18 22:25:41 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-06-19 16:09:07 +0200 |
commit | 1472f85b162ea6f1ab9e19e94b86fc4a8ef074be (patch) | |
tree | 5bcfc4803bb4305790d7cce894cc96a072e86840 /Zotlabs/Lib/ThreadStream.php | |
parent | 3d6255ae24310a935caf4e74729aa7165f94aeda (diff) | |
download | volse-hubzilla-1472f85b162ea6f1ab9e19e94b86fc4a8ef074be.tar.gz volse-hubzilla-1472f85b162ea6f1ab9e19e94b86fc4a8ef074be.tar.bz2 volse-hubzilla-1472f85b162ea6f1ab9e19e94b86fc4a8ef074be.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 |