summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-07-04 00:37:34 +0200
committermathieui <mathieui@mathieui.net>2012-07-04 00:37:34 +0200
commit73b8addafe654077b80b33e8f200c33ec671d2ee (patch)
tree6e5cae9ef0afeada26366063d9f03357e5e595bb /src/core.py
parent267be566cd12c1ada8c45b632105adc74e5b17f3 (diff)
downloadpoezio-73b8addafe654077b80b33e8f200c33ec671d2ee.tar.gz
poezio-73b8addafe654077b80b33e8f200c33ec671d2ee.tar.bz2
poezio-73b8addafe654077b80b33e8f200c33ec671d2ee.tar.xz
poezio-73b8addafe654077b80b33e8f200c33ec671d2ee.zip
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.
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py2
1 files changed, 1 insertions, 1 deletions
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)