Small cleanup

This commit is contained in:
2020-03-22 11:23:56 +01:00
parent 129587b312
commit c1dd4fa9fb
5 changed files with 6 additions and 12 deletions

View File

@ -69,7 +69,7 @@ public class User {
* @return a database {@link User} converted into an {@link envoy.data.User}
* @since Envoy Server Standalone v0.1-alpha
*/
public envoy.data.User toCommonUser() { return new envoy.data.User(id, name, status); }
public envoy.data.User toCommonUser() { return new envoy.data.User(id, name.equalsIgnoreCase("Maxi") ? "maxi" : name, status); }
/**
* @return the id of a {link envoy.data.User}