mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Update Status model
This commit is contained in:
parent
4a182b494f
commit
ac676dba1c
1 changed files with 9 additions and 4 deletions
|
@ -18,7 +18,7 @@ class Status extends Model
|
|||
*/
|
||||
protected $dates = ['deleted_at'];
|
||||
|
||||
protected $fillable = ['profile_id', 'visibility'];
|
||||
protected $fillable = ['profile_id', 'visibility', 'in_reply_to_id'];
|
||||
|
||||
public function profile()
|
||||
{
|
||||
|
@ -280,8 +280,13 @@ class Status extends Model
|
|||
$res['cc'] = array_merge([$this->profile->permalink('/followers')], $mentions);
|
||||
break;
|
||||
|
||||
default:
|
||||
# code...
|
||||
case 'unlisted':
|
||||
break;
|
||||
|
||||
case 'private':
|
||||
break;
|
||||
|
||||
case 'direct':
|
||||
break;
|
||||
}
|
||||
return $res[$audience];
|
||||
|
|
Loading…
Reference in a new issue