[API] - Add "is_moderator" and "is_admin" in account entity
I want to implement some admin features with Mastalab. I noticed there is this call:
/api/pleroma/admin/permission_group/:nickname
which returns:
{
"is_moderator": bool,
"is_admin": bool
}
Do you think, it's possible to add this values in Account entity.
My main issue, I currently can't make the difference between a Mastodon and Pleroma account. That means, I will do this extra call for all users (even Mastodon ones).
If it's not possible, I will try to detect Pleroma accounts with special parameters that its account entity has.