about summary refs log tree commit diff stats
path: root/src/xmpp/presence.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-01-25 22:57:53 +0000
committerJames Booth <boothj5@gmail.com>2014-01-25 22:57:53 +0000
commite1aca3b1f6ff9cd6196bef280b29abe2dc8ef639 (patch)
tree5d703749b2edb752112a011fb9d4d140a61f5fad /src/xmpp/presence.c
parent9b825518099f5569742b2a9ad495bc6ec2d7af4d (diff)
downloadprofani-tty-e1aca3b1f6ff9cd6196bef280b29abe2dc8ef639.tar.gz
Add message and presence error handlers seperately
Diffstat (limited to 'src/xmpp/presence.c')
-rw-r--r--src/xmpp/presence.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmpp/presence.c b/src/xmpp/presence.c
index 2126d8a5..9b11c898 100644
--- a/src/xmpp/presence.c
+++ b/src/xmpp/presence.c
@@ -72,6 +72,7 @@ presence_add_handlers(void)
     xmpp_conn_t * const conn = connection_get_conn();
     xmpp_ctx_t * const ctx = connection_get_ctx();
 
+    HANDLE(NULL,               STANZA_TYPE_ERROR,        connection_error_handler);
     HANDLE(STANZA_NS_MUC_USER, NULL,                     _muc_user_handler);
     HANDLE(NULL,               STANZA_TYPE_UNAVAILABLE,  _unavailable_handler);
     HANDLE(NULL,               STANZA_TYPE_SUBSCRIBE,    _subscribe_handler);