I have a use case and a working code enhancement for retrieving the MUC Room Chat History, for any given room, via Rest.
ex:
It should return the chat room messages for the MUC Room, along with to, from, type, body, when it was sent (delay stamp), and optionally the JID that sent the message (delay from)
Json response looks like this
XML Response looks like this
Submitted pull request