Add stream_negotiated event.

Fires after all stream features have been processed.
This commit is contained in:
Lance Stout 2012-10-01 16:28:31 -07:00
parent 657102e938
commit cf2c94d974

View file

@ -273,6 +273,8 @@ class ClientXMPP(BaseXMPP):
# Don't continue if the feature requires
# restarting the XML stream.
return True
log.debug('Finished processing stream features.')
self.event('stream_negotiated')
def _handle_roster(self, iq):
"""Update the roster after receiving a roster stanza.