display roles in profile

This commit is contained in:
sk
2023-02-06 19:41:36 +01:00
parent f88b65f479
commit defd038064
5 changed files with 74 additions and 13 deletions

View File

@@ -133,6 +133,14 @@ public class Account extends BaseModel{
*/
public Instant muteExpiresAt;
public List<Role> roles;
@Parcel
public static class Role {
public String name;
/** #rrggbb */
public String color;
}
@Override
public void postprocess() throws ObjectValidationException{