I am currently using the ConverseJS library in order to connect to the XMPP server and it is working pitch perfect. The one problem I am facing is that I want the chat history and in XMPP there is a function to fetch the message. I am using the Openfire Server and using the Monitoring plugin's latest version as well.
When I open any chat window then the spinner runs and then no old messages are shown. In the console log it gives the following error:
iq type="error" id="334" to="user1@mydomain.com/458">
<error type="cancel" code="501">
<feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
</error>
</iq>
So can anyone tell me any possible solution regarding this problem.