Check if 'reply on comment' enabled for this profile

This commit is contained in:
Max Kostikov 2019-05-02 10:40:33 +02:00
parent ea6293544d
commit d4ab8a5a5d

View File

@ -38,7 +38,7 @@ class ThreadItem {
$this->data = $data; $this->data = $data;
$this->toplevel = ($this->get_id() == $this->get_data_value('parent')); $this->toplevel = ($this->get_id() == $this->get_data_value('parent'));
$this->threaded = get_config('system','thread_allow',((defined('NOMADIC')) ? false : true)); $this->threaded = feature_enabled($conv->get_profile_owner(),'reply_to');
$observer = \App::get_observer(); $observer = \App::get_observer();