Strip HTML in and allow emoji in summaries.
[akkoma] / lib / pleroma / web / twitter_api / views / user_view.ex
index 40db0b1178cbb1636e96aa11ac3ba92a84995c86..a8cf83613872915f2f87381da30d89dc9a585adb 100644 (file)
@@ -96,7 +96,8 @@ defmodule Pleroma.Web.TwitterAPI.UserView do
       "profile_image_url_profile_size" => image,
       "profile_image_url_original" => image,
       "rights" => %{
-        "delete_others_notice" => !!user.info.is_moderator
+        "delete_others_notice" => !!user.info.is_moderator,
+        "admin" => !!user.info.is_admin
       },
       "screen_name" => user.nickname,
       "statuses_count" => user_info[:note_count],