Access the room configuration using the XEP 45 way
https://xmpp.org/extensions/xep-0045.html#roomconfig
The dataform should be the same as the “configure” ad-hoc command.
https://xmpp.org/extensions/xep-0045.html#roomconfig
The dataform should be the same as the “configure” ad-hoc command.