Hi,
I had the problem, that MUC conversation was gone after a server restart.
I remembered there was a bug Image may be NSFW.
Clik here to view.OF-771 which suggests, that MUC conversation is persisted every 300 seconds (by default). But in my case there was no history at all.
I had a look at the source code and saw, that history is indeed written:
mucService.logConversation(this, message, senderAddress);
which is persisted by a timer task, but it won't get loaded, unless the room is configured with "muc#roomconfig_enablelogging":
if (room.isLogEnabled()) { pstmt = con.prepareStatement(LOAD_HISTORY);
However, there's also a LOAD_ALL_HISTORY statement, which seems to be used in another case, so I am a little bit confused.
I understand that muc#roomconfig_enablelogging should only mean that conversation is logged publicly (http://xmpp.org/extensions/xep-0045.html#enter-logging) ("Whether to Enable Public Logging of Room Conversations")
Can somebody shed some light here?
Is it a bug or some misconfiguration maybe?