mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-30 16:30:45 +00:00
Update StatusController
This commit is contained in:
parent
32df6a82ac
commit
89b1712603
1 changed files with 3 additions and 0 deletions
|
@ -110,7 +110,10 @@ class StatusController extends Controller
|
|||
$status->profile_id = $profile->id;
|
||||
$status->caption = strip_tags($request->caption);
|
||||
$status->is_nsfw = $cw;
|
||||
|
||||
// TODO: remove deprecated visibility in favor of scope
|
||||
$status->visibility = $visibility;
|
||||
$status->scope = $visibility;
|
||||
|
||||
$status->save();
|
||||
|
||||
|
|
Loading…
Reference in a new issue