mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-02-06 20:00:48 +00:00
Update ComposeController, add max_media_attachments attribute
This commit is contained in:
parent
629fb5a47a
commit
17918cbef4
1 changed files with 1 additions and 0 deletions
|
@ -773,6 +773,7 @@ class ComposeController extends Controller
|
|||
$default = [
|
||||
'default_license' => 1,
|
||||
'media_descriptions' => false,
|
||||
'max_media_attachments' => (int) config_cache('pixelfed.max_album_length'),
|
||||
'max_altext_length' => config_cache('pixelfed.max_altext_length'),
|
||||
];
|
||||
$settings = AccountService::settings($uid);
|
||||
|
|
Loading…
Reference in a new issue