From e1aca3b1f6ff9cd6196bef280b29abe2dc8ef639 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 25 Jan 2014 22:57:53 +0000 Subject: Add message and presence error handlers seperately --- src/xmpp/presence.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/xmpp/presence.c') 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); -- cgit 1.4.1-2-gfad0