From 952d493434eb886822310f8bca04db9fc2a0ca69 Mon Sep 17 00:00:00 2001 From: CyB3RC0nN0R Date: Sun, 9 Feb 2020 16:01:05 +0100 Subject: [PATCH] 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. --- src/main/java/envoy/server/data/User.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/envoy/server/data/User.java b/src/main/java/envoy/server/data/User.java index 877a699..7b9cbd7 100644 --- a/src/main/java/envoy/server/data/User.java +++ b/src/main/java/envoy/server/data/User.java @@ -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}