From 73b8addafe654077b80b33e8f200c33ec671d2ee Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 4 Jul 2012 00:37:34 +0200 Subject: Use no_auth instead of failed_auth event With failed_auth, poezio was showing an error message for each authentication mechanism tried (3, usually). This commit fixes that. --- src/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.py b/src/core.py index d272fe82..4fc8a8b1 100644 --- a/src/core.py +++ b/src/core.py @@ -248,7 +248,7 @@ class Core(object): # Add handlers self.xmpp.add_event_handler('connected', self.on_connected) self.xmpp.add_event_handler('disconnected', self.on_disconnected) - self.xmpp.add_event_handler('failed_auth', self.on_failed_auth) + self.xmpp.add_event_handler('no_auth', self.on_failed_auth) self.xmpp.add_event_handler("session_start", self.on_session_start) self.xmpp.add_event_handler("groupchat_presence", self.on_groupchat_presence) self.xmpp.add_event_handler("groupchat_message", self.on_groupchat_message) -- cgit v1.2.3