mastodon_api_controller.ex: Add pleroma-tan to initial_state

This commit is contained in:
Haelwenn (lanodan) Monnier 2019-04-04 09:07:25 +02:00
parent 3f8be270c6
commit af0065a71f
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE
1 changed files with 2 additions and 1 deletions

View File

@ -1121,7 +1121,8 @@ def index(%{assigns: %{user: user}} = conn, _params) do
auto_play_gif: false, auto_play_gif: false,
display_sensitive_media: false, display_sensitive_media: false,
reduce_motion: false, reduce_motion: false,
max_toot_chars: limit max_toot_chars: limit,
mascot: "/images/pleroma-fox-tan-smol.png"
}, },
rights: %{ rights: %{
delete_others_notice: present?(user.info.is_moderator), delete_others_notice: present?(user.info.is_moderator),