make discover items interactive
This commit is contained in:
@@ -52,14 +52,14 @@ class Conversation extends BaseObject {
|
||||
|
||||
switch($mode) {
|
||||
case 'network':
|
||||
if(array_key_exists('firehose',$a->data) && intval($a->data['firehose'])) {
|
||||
$this->profile_owner = intval($a->data['firehose']);
|
||||
$this->writable = false;
|
||||
}
|
||||
else {
|
||||
// if(array_key_exists('firehose',$a->data) && intval($a->data['firehose'])) {
|
||||
// $this->profile_owner = intval($a->data['firehose']);
|
||||
// $this->writable = false;
|
||||
// }
|
||||
// else {
|
||||
$this->profile_owner = local_user();
|
||||
$this->writable = true;
|
||||
}
|
||||
// }
|
||||
break;
|
||||
case 'channel':
|
||||
$this->profile_owner = $a->profile['profile_uid'];
|
||||
|
Reference in New Issue
Block a user