I have been facing an issue with the export functionality. If a chat room has 500+ messages. When I try exporting it. It is only exporting the first 100 messages. Do we have any constraint on it?
If it’s there, then is there any way to export all the messages in a particular chat room.
I am using a Strophe.js to send a query to fetch all the messages. But it returns only 100 oldest messages and in the end it gives me the first and last id of the message.
Ah. That is intended behavior, aimed at preventing accidental floods of data.
If a result is getting to large, the amount of data is being limited. You can paginate through the result to retrieve all data in a couple of requests. This process is defined in XEP-0059: Result Set Management