Add stream_negotiated event.
Fires after all stream features have been processed.
This commit is contained in:
parent
657102e938
commit
cf2c94d974
@ -273,6 +273,8 @@ class ClientXMPP(BaseXMPP):
|
|||||||
# Don't continue if the feature requires
|
# Don't continue if the feature requires
|
||||||
# restarting the XML stream.
|
# restarting the XML stream.
|
||||||
return True
|
return True
|
||||||
|
log.debug('Finished processing stream features.')
|
||||||
|
self.event('stream_negotiated')
|
||||||
|
|
||||||
def _handle_roster(self, iq):
|
def _handle_roster(self, iq):
|
||||||
"""Update the roster after receiving a roster stanza.
|
"""Update the roster after receiving a roster stanza.
|
||||||
|
Loading…
Reference in New Issue
Block a user