diff --git a/sleekxmpp/clientxmpp.py b/sleekxmpp/clientxmpp.py index 2fc13c8..13de39d 100644 --- a/sleekxmpp/clientxmpp.py +++ b/sleekxmpp/clientxmpp.py @@ -93,27 +93,27 @@ class ClientXMPP(BaseXMPP): self.bound = False self.bindfail = False - self.registerHandler( + self.register_handler( Callback('Stream Features', MatchXPath('{%s}features' % self.stream_ns), self._handle_stream_features)) - self.registerHandler( + self.register_handler( Callback('Roster Update', MatchXPath('{%s}iq/{%s}query' % ( self.default_ns, 'jabber:iq:roster')), self._handle_roster)) - self.registerFeature( + self.register_feature( "", self._handle_starttls, True) - self.registerFeature( + self.register_feature( "", self._handle_sasl_auth, True) - self.registerFeature( + self.register_feature( "", self._handle_bind_resource) - self.registerFeature( + self.register_feature( "", self._handle_start_session)