trace through the threaded conversation spaghetti to bring back a sane looking network page
This commit is contained in:
@@ -51,6 +51,7 @@ class Item extends BaseObject {
|
||||
// FIXME - base this on observer permissions
|
||||
$this->writable = ((local_user() && $channel['channel_hash'] === $item['owner_xchan']) ? true : false);
|
||||
|
||||
|
||||
$ssl_state = ((local_user()) ? true : false);
|
||||
$this->redirect_url = $a->get_baseurl($ssl_state) . '/redir/' . $this->get_data_value('cid') ;
|
||||
|
||||
@@ -474,6 +475,8 @@ class Item extends BaseObject {
|
||||
private function is_writable() {
|
||||
$conv = $this->get_conversation();
|
||||
|
||||
return true;
|
||||
|
||||
if($conv) {
|
||||
// This will allow us to comment on wall-to-wall items owned by our friends
|
||||
// and community forums even if somebody else wrote the post.
|
||||
|
||||
Reference in New Issue
Block a user