Ignore:
Timestamp:
Jun 9, 2009, 7:33:41 PM (13 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
wokkel-muc-client-support-24
Message:

Another round of cleanups, renames. Also removed disco support.

  • Whitespace and other PEP-8 cleanups
  • Naming changes to clarify and adhere to Twisted style guide.
  • Removed disco method, should use DiscoClientProtocol.requestInfo
  • Redid invite code, some of the parameters were actually not optional, and passwords should be sent by the service, not the client.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • wokkel/disco.py

    r128 r130  
    409409
    410410
    411 class DiscoRequest(xmlstream.IQ):
    412     """
    413     Disco request.
    414 
    415     @ivar namespace: Request namespace.
    416     @type namespace: C{str}
    417     @ivar method: Type attribute of the IQ request. Either C{'set'} or C{'get'}
    418     @type method: C{str}
    419     """
    420 
    421     def __init__(self, xs, namespace=NS, method='get'):
    422         xmlstream.IQ.__init__(self, xs, method)
    423         self.addElement((namespace, 'query'))
    424 
    425 
    426 
    427411class DiscoHandler(XMPPHandler, IQHandlerMixin):
    428412    """
Note: See TracChangeset for help on using the changeset viewer.