Commit c631fb73 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Fixed persistent room history recreation.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@712 b35dd754-fafc-0310-a699-88a17e54d16e
parent 00e1da55
......@@ -426,6 +426,10 @@ public class MUCPersistenceManager {
rs = pstmt.executeQuery();
while (rs.next()) {
room = rooms.get(rs.getLong(1));
// Skip to the next position if the room does not exist
if (room == null) {
continue;
}
Date sentDate = new Date(Long.parseLong(rs.getString(4).trim()));
try {
// Recreate the history only for the rooms that have the conversation logging
......
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