Commit ba85d931 authored by guus's avatar guus

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@12955 b35dd754-fafc-0310-a699-88a17e54d16e
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