def register(self, roomJID, options):
    '\n        Send a request to register for a room.\n\n        @param roomJID: The bare JID of the room.\n        @type roomJID: L{JID<twisted.words.protocols.jabber.jid.JID>}\n\n        @param options: A mapping of field names to values, or C{None} to\n            cancel.\n        @type options: C{dict}\n        '
    if (options is None):
        options = False
    request = RegisterRequest(recipient=roomJID, options=options)
    return self.request(request)
Send a request to register for a room.

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

@param options: A mapping of field names to values, or C{None} to
    cancel.
@type options: C{dict}
def register(self, roomJID, options):
    '\n        Send a request to register for a room.\n\n        @param roomJID: The bare JID of the room.\n        @type roomJID: L{JID<twisted.words.protocols.jabber.jid.JID>}\n\n        @param options: A mapping of field names to values, or C{None} to\n            cancel.\n        @type options: C{dict}\n        '
    if (options is None):
        options = False
    request = RegisterRequest(recipient=roomJID, options=options)
    return self.request(request)