MastoAPI: Add max_toot_chars.

This commit is contained in:
Roger Braun 2017-11-20 08:54:47 +01:00
parent 6900851581
commit cf0bbf320d

View file

@ -106,7 +106,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
user_count: 1,
status_count: 2,
domain_count: 3
}
},
max_toot_chars: Keyword.get(@instance, :limit)
}
json(conn, response)