Add message and presence error handlers seperately

This commit is contained in:
James Booth
2014-01-25 22:57:53 +00:00
parent 9b82551809
commit e1aca3b1f6
4 changed files with 3 additions and 11 deletions

View File

@@ -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);