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

View file

@ -1121,7 +1121,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController 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),