This should fix some of the remote permissions issues
This commit is contained in:
parent
6e012839c9
commit
69d9ec9a94
@ -141,8 +141,11 @@ class Conversation extends BaseObject {
|
|||||||
if(local_user() && $item->get_data_value('uid') == local_user())
|
if(local_user() && $item->get_data_value('uid') == local_user())
|
||||||
$this->commentable = true;
|
$this->commentable = true;
|
||||||
|
|
||||||
|
if($this->writable)
|
||||||
|
$this->commentable = true;
|
||||||
|
|
||||||
if(($this->observer) && (! $this->writable)) {
|
if(($this->observer) && (! $this->writable)) {
|
||||||
$this->commentable = can_comment_on_post($this->observer['xchan_hash'],$item['data']);
|
$this->commentable = can_comment_on_post($this->observer['xchan_hash'],$item->data);
|
||||||
}
|
}
|
||||||
|
|
||||||
$item->set_conversation($this);
|
$item->set_conversation($this);
|
||||||
|
Reference in New Issue
Block a user