MUC Conversation History on demand (openfire 3.7.1)

Hello!

I wanted to ask is there a way to retreive MUC Room’s Conversation History on demand without joinig it?

I know there is a way to configure how much history items you want to receive while joing room but I need a way to get messages from date A till date B for specific room. I know that conversation log is saved in database but can’t find any stanza I can use to get it.

This is needed for moderators so they can check conversation of reported users so they can verify reports etc.

For client I am using XIFF 3.1.0 and server is OF 3.7.1.

Thanks!