Merge branch 'tests-warning-as-errors' into 'develop'
[akkoma] / lib / pleroma / web / twitter_api / views / user_view.ex
index dae6563726f52398d57bfe71b9be7cce411c21b1..b3459af9af7768cc2316b1f122f75fecfeee193f 100644 (file)
@@ -78,8 +78,11 @@ defmodule Pleroma.Web.TwitterAPI.UserView do
       "default_scope" => user.info.default_scope,
       "no_rich_text" => user.info.no_rich_text,
       "fields" => fields,
-      # Note: twitter.com does not return this field:
-      "tags" => user.tags
+
+      # Pleroma extension
+      "pleroma" => %{
+        "tags" => user.tags
+      }
     }
 
     if assigns[:token] do