Fixed incorrect online status
User objects were created with the status ONLINE even if the actual status in the database was a different one. This issue has been fixed.
This commit is contained in:
parent
48e12dcdfe
commit
952d493434
@ -64,7 +64,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); }
|
||||
public envoy.data.User toCommonUser() { return new envoy.data.User(id, name, status); }
|
||||
|
||||
/**
|
||||
* @return the id of a {link envoy.data.User}
|
||||
|
Reference in New Issue
Block a user