TwitterAPI: Add is_local to user view.
This commit is contained in:
parent
15cb3f2b01
commit
ab83e0de6d
2 changed files with 9 additions and 4 deletions
|
|
@ -47,6 +47,7 @@ defmodule Pleroma.Web.TwitterAPI.UserView do
|
|||
"statusnet_profile_url" => user.ap_id,
|
||||
"cover_photo" => User.banner_url(user) |> MediaProxy.url(),
|
||||
"background_image" => image_url(user.info["background"]) |> MediaProxy.url(),
|
||||
"is_local" => user.local
|
||||
}
|
||||
|
||||
if assigns[:token] do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue