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:
Kai S. K. Engelbart 2020-02-09 16:01:05 +01:00
parent 48e12dcdfe
commit 952d493434

View File

@ -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}