Commit ba85d931 authored by guus's avatar guus
parent 8d5e4662
...@@ -273,6 +273,9 @@ public class PresenceManagerImpl extends BasicModule implements PresenceManager, ...@@ -273,6 +273,9 @@ public class PresenceManagerImpl extends BasicModule implements PresenceManager,
} }
lastActivityCache.put(username, offlinePresenceDate.getTime()); lastActivityCache.put(username, offlinePresenceDate.getTime());
// delete existing offline presence
deleteOfflinePresenceFromDB(username);
// Insert data into the database. // Insert data into the database.
Connection con = null; Connection con = null;
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment