Refactor posting and make character limit configurable.
This commit is contained in:
parent
ac2893a945
commit
50409326a8
12 changed files with 87 additions and 78 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue