def getRegisterForm(self, roomJID):
    '\n        Grab the registration form for a MUC room.\n\n        @param room: The room jabber/xmpp entity id for the requested\n            registration form.\n        @type room: L{JID<twisted.words.protocols.jabber.jid.JID>}\n        '

    def cb(response):
        form = data_form.findForm(response.query, NS_MUC_REGISTER)
        return form
    request = RegisterRequest(recipient=roomJID, options=None)
    d = self.request(request)
    d.addCallback(cb)
    return d
Grab the registration form for a MUC room.

@param room: The room jabber/xmpp entity id for the requested
    registration form.
@type room: L{JID<twisted.words.protocols.jabber.jid.JID>}
def getRegisterForm(self, roomJID):
    '\n        Grab the registration form for a MUC room.\n\n        @param room: The room jabber/xmpp entity id for the requested\n            registration form.\n        @type room: L{JID<twisted.words.protocols.jabber.jid.JID>}\n        '

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