summaryrefslogtreecommitdiff
path: root/sleekxmpp/clientxmpp.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-10-01 16:28:31 -0700
committerLance Stout <lancestout@gmail.com>2012-10-01 16:28:31 -0700
commitcf2c94d974d193b6ba6387a2660c974c9c74f938 (patch)
treec647a744ab792002d71c0a92f23780084b6a5b4f /sleekxmpp/clientxmpp.py
parent657102e938aeb385cd44daf3cc213a40d58c36fa (diff)
downloadslixmpp-cf2c94d974d193b6ba6387a2660c974c9c74f938.tar.gz
slixmpp-cf2c94d974d193b6ba6387a2660c974c9c74f938.tar.bz2
slixmpp-cf2c94d974d193b6ba6387a2660c974c9c74f938.tar.xz
slixmpp-cf2c94d974d193b6ba6387a2660c974c9c74f938.zip
Add stream_negotiated event.
Fires after all stream features have been processed.
Diffstat (limited to 'sleekxmpp/clientxmpp.py')
-rw-r--r--sleekxmpp/clientxmpp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sleekxmpp/clientxmpp.py b/sleekxmpp/clientxmpp.py
index 9aa64256..eb510352 100644
--- a/sleekxmpp/clientxmpp.py
+++ b/sleekxmpp/clientxmpp.py
@@ -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.