diff --git a/sleekxmpp/plugins/xep_0078.py b/sleekxmpp/plugins/xep_0078.py index 24afc87..8cce0eb 100644 --- a/sleekxmpp/plugins/xep_0078.py +++ b/sleekxmpp/plugins/xep_0078.py @@ -31,7 +31,7 @@ class xep_0078(base.base_plugin): def plugin_init(self): self.description = "Non-SASL Authentication (broken)" self.xep = "0078" - self.xmpp.add_start_handler(self.check_stream) + self.xmpp.add_event_handler("session_start", self.check_stream) #disabling until I fix conflict with PLAIN #self.xmpp.registerFeature("", self.auth) self.streamid = ''