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

@@ -57,6 +57,7 @@ message_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(NULL, STANZA_TYPE_GROUPCHAT, _groupchat_handler);
HANDLE(NULL, STANZA_TYPE_CHAT, _chat_handler);
HANDLE(STANZA_NS_MUC_USER, NULL, _muc_user_handler);