Ignore:
Timestamp:
Aug 15, 2011, 5:39:17 PM (11 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
wokkel-muc-client-support-24
Message:

Reimplement RegisterRequest? by generalizing the form handling for room config.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wokkel/iwokkel.py

    r150 r151  
    916916
    917917
    918     def register(roomJID, fields=[]):
     918    def register(roomJID, options):
    919919        """
    920920        Send a request to register for a room.
     
    923923        @type roomJID: L{jid.JID}
    924924
    925         @param fields: The fields you need to register.
    926         @type fields: L{list} of L{dataform.Field}
    927         """
    928 
     925        @param options: A mapping of field names to values, or C{None} to
     926            cancel.
     927        @type options: C{dict}
     928        """
    929929
    930930
Note: See TracChangeset for help on using the changeset viewer.