[#394] Added users.tags and admin routes to tag and untag users. Added tests.

This commit is contained in:
Ivan Tashkinov 2018-12-06 20:06:50 +03:00
commit 7b19487389
8 changed files with 139 additions and 2 deletions

View file

@ -77,7 +77,9 @@ defmodule Pleroma.Web.TwitterAPI.UserView do
"locked" => user.info.locked,
"default_scope" => user.info.default_scope,
"no_rich_text" => user.info.no_rich_text,
"fields" => fields
"fields" => fields,
# Note: twitter.com does not return this field:
"tags" => user.tags
}
if assigns[:token] do