def getConfiguration(self, roomJID):
    "\n        Grab the configuration from the room.\n\n        This sends an iq request to the room.\n\n        @param roomJID: The bare JID of the room.\n        @type roomJID: L{JID<twisted.words.protocols.jabber.jid.JID>}\n\n        @return: A deferred that fires with the room's configuration form as\n            a L{data_form.Form} or C{None} if there are no configuration\n            options available.\n        "

    def cb(response):
        form = data_form.findForm(response.query, NS_MUC_CONFIG)
        return form
    request = ConfigureRequest(recipient=roomJID, options=None)
    d = self.request(request)
    d.addCallback(cb)
    return d
Grab the configuration from the room.

This sends an iq request to the room.

@param roomJID: The bare JID of the room.
@type roomJID: L{JID<twisted.words.protocols.jabber.jid.JID>}

@return: A deferred that fires with the room's configuration form as
    a L{data_form.Form} or C{None} if there are no configuration
    options available.
def getConfiguration(self, roomJID):
    "\n        Grab the configuration from the room.\n\n        This sends an iq request to the room.\n\n        @param roomJID: The bare JID of the room.\n        @type roomJID: L{JID<twisted.words.protocols.jabber.jid.JID>}\n\n        @return: A deferred that fires with the room's configuration form as\n            a L{data_form.Form} or C{None} if there are no configuration\n            options available.\n        "

    def cb(response):
        form = data_form.findForm(response.query, NS_MUC_CONFIG)
        return form
    request = ConfigureRequest(recipient=roomJID, options=None)
    d = self.request(request)
    d.addCallback(cb)
    return d