1
0
Fork 0

Update StatusController

This commit is contained in:
Daniel Supernault 2018-10-17 18:23:29 -06:00
parent 32df6a82ac
commit 89b1712603
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 3 additions and 0 deletions

View File

@ -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();