diff --git a/chatto/src/main/java/org/ros/chatto/service/UserServiceImpl.java b/chatto/src/main/java/org/ros/chatto/service/UserServiceImpl.java index 048a957..dbed0fb 100644 --- a/chatto/src/main/java/org/ros/chatto/service/UserServiceImpl.java +++ b/chatto/src/main/java/org/ros/chatto/service/UserServiceImpl.java @@ -112,7 +112,7 @@ public class UserServiceImpl implements UserService { if(us != null) { activeUserDTO.setOnline(us.isOnline()); - activeUserDTO.setLastActive(toLastActiveString(lastActiveMap.get(u).getTimeStamp())); + activeUserDTO.setLastActive(toLastActiveString(us.getTimeStamp())); } activeUserDTOs.add(activeUserDTO);