Pagination in muc chat history

Hi,

I know we can request a certain number of chat messages as room chat history. My understanding is that this is one time only. Is it possible (in any version of openfire) to load a certain number of chat messages first (say recent 50 when user connects to a room first time), then ask for 50 more (50-100), then request for 50 more (100-150) and so on.

I would really appreciate some help regarding the matter.

Thanks & Best Regards.