Add moderator function.
This commit is contained in:
parent
1bc34de4df
commit
5bc810c452
2 changed files with 22 additions and 5 deletions
|
|
@ -41,7 +41,9 @@ defmodule Pleroma.Web.TwitterAPI.UserView do
|
|||
"profile_image_url_https" => image,
|
||||
"profile_image_url_profile_size" => image,
|
||||
"profile_image_url_original" => image,
|
||||
"rights" => %{},
|
||||
"rights" => %{
|
||||
"delete_others_notice" => !!user.info["is_moderator"]
|
||||
},
|
||||
"screen_name" => user.nickname,
|
||||
"statuses_count" => user_info[:note_count],
|
||||
"statusnet_profile_url" => user.ap_id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue