

def clientAuth(self, xmlstream):
    presence = domish.Element(('jabber:client', 'presence'))
    presence.addElement('status').addContent('Online')
    xmlstream.send(presence)
    log.msg('clientAuth: presense sent')
    for observer in self.getObserverNames():
        xmlstream.addObserver(observer, xmlstream._dispatcher)
    xmlstream.xmlstream = xmlstream
    self.start_defer.callback(xmlstream)
    log.msg('clientAuth: finished')

dataset/ETHPy150Open selfsk/nodeset.core/src/nodeset/core/pubsub/agent.py XmppAgent.clientAuth/VarMisuse@74/108 `self`->`xmlstream`