mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 16:23:16 +00:00
Update Status model
This commit is contained in:
parent
c6e3ad0212
commit
905c2417ae
1 changed files with 0 additions and 5 deletions
|
@ -64,11 +64,6 @@ class Status extends Model
|
||||||
$id = $this->id;
|
$id = $this->id;
|
||||||
$username = $this->profile->username;
|
$username = $this->profile->username;
|
||||||
$path = config('app.url')."/p/{$username}/{$id}";
|
$path = config('app.url')."/p/{$username}/{$id}";
|
||||||
if (!is_null($this->in_reply_to_id)) {
|
|
||||||
$pid = $this->in_reply_to_id;
|
|
||||||
$path = "{$this->parent()->url()}#comment-{$id}";
|
|
||||||
}
|
|
||||||
|
|
||||||
return url($path);
|
return url($path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue