From cf2c94d974d193b6ba6387a2660c974c9c74f938 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Mon, 1 Oct 2012 16:28:31 -0700 Subject: [PATCH] Add stream_negotiated event. Fires after all stream features have been processed. --- sleekxmpp/clientxmpp.py | 2 ++ 1 file changed, 2 insertions(+) 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.