Web.MastodonAPI.AccountView: Add is_moderator and is_admin
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Sun, 27 Jan 2019 09:21:13 +0000 (10:21 +0100)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Sun, 27 Jan 2019 09:33:22 +0000 (10:33 +0100)
commita65c18859307f4aacf42eb5dd14e63ad76747a6d
treebcbe4dfbece92e0db7b3fb82ac020dda0a9fa245
parent717579330427ed4f78ee578d008818c07106318f
Web.MastodonAPI.AccountView: Add is_moderator and is_admin

Closes: https://git.pleroma.social/pleroma/pleroma/issues/557
lib/pleroma/web/mastodon_api/views/account_view.ex
test/web/mastodon_api/account_view_test.exs