Update StatusController

pull/773/head
Daniel Supernault 7 years ago
parent 7a80216462
commit 0d4907e34c
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -125,6 +125,9 @@ class StatusController extends Controller
$profile = $user->profile;
$visibility = $this->validateVisibility($request->visibility);
$cw = $profile->cw == true ? true : $cw;
$visibility = $profile->unlisted == true && $visibility == 'public' ? 'unlisted' : $visibility;
$status = new Status();
$status->profile_id = $profile->id;
$status->caption = strip_tags($request->caption);

Loading…
Cancel
Save