Add stream_negotiated event.
Fires after all stream features have been processed.
This commit is contained in:
parent
657102e938
commit
cf2c94d974
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue