Formatting

This commit is contained in:
Michael 2021-05-09 12:01:44 +00:00
parent 66be56e081
commit 6d3c82e54e

View file

@ -50,9 +50,9 @@ class Preferences extends BaseApi
} }
$sensitive = false; $sensitive = false;
$language = $user['language']; $language = $user['language'];
$media = DI::pConfig()->get($uid, 'nsfw', 'disable') ? 'show_all' : 'default'; $media = DI::pConfig()->get($uid, 'nsfw', 'disable') ? 'show_all' : 'default';
$spoilers = DI::pConfig()->get($uid, 'system', 'disable_cw'); $spoilers = DI::pConfig()->get($uid, 'system', 'disable_cw');
$preferences = new \Friendica\Object\Api\Mastodon\Preferences($visibility, $sensitive, $language, $media, $spoilers); $preferences = new \Friendica\Object\Api\Mastodon\Preferences($visibility, $sensitive, $language, $media, $spoilers);