Formatting
This commit is contained in:
parent
66be56e081
commit
6d3c82e54e
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue