Refactor posting and make character limit configurable.

This commit is contained in:
Roger Braun 2017-09-15 14:17:36 +02:00
commit 50409326a8
12 changed files with 87 additions and 78 deletions

View file

@ -1,7 +1,7 @@
defmodule Pleroma.Web.TwitterAPI.UserView do
use Pleroma.Web, :view
alias Pleroma.User
alias Pleroma.Web.TwitterAPI.Utils
alias Pleroma.Web.CommonAPI.Utils
def render("show.json", %{user: user = %User{}} = assigns) do
render_one(user, Pleroma.Web.TwitterAPI.UserView, "user.json", assigns)