From bf195efea79cdad58210112838fad5a899e72149 Mon Sep 17 00:00:00 2001 From: Rohan Sircar Date: Fri, 22 Nov 2019 10:06:37 +0530 Subject: [PATCH] minor change to user service impl --- .../src/main/java/org/ros/chatto/service/UserServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);