until we can figure out how to allow commenting on the discover page without killing the matrix, just turn it off.
This commit is contained in:
parent
bc041bdb77
commit
4feeacb51b
@ -181,6 +181,13 @@ class Conversation extends BaseObject {
|
||||
$item->set_commentable(can_comment_on_post($this->observer['xchan_hash'],$item->data));
|
||||
}
|
||||
|
||||
require_once('include/identity.php');
|
||||
$sys = get_sys_channel();
|
||||
|
||||
if($sys && $item->get_data_value('uid') == $sys['channel_id']) {
|
||||
$item->set_commentable(false);
|
||||
}
|
||||
|
||||
$item->set_conversation($this);
|
||||
$this->threads[] = $item;
|
||||
return end($this->threads);
|
||||
|
Reference in New Issue
Block a user