make discover items interactive

This commit is contained in:
friendica
2014-09-22 21:37:19 -07:00
parent b735961560
commit fb05919d90
5 changed files with 30 additions and 11 deletions

View File

@@ -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'];