Added presence_add_handlers()

This commit is contained in:
James Booth
2013-01-29 00:04:49 +00:00
parent a30474f9fc
commit 0b7a0531d0
3 changed files with 17 additions and 5 deletions

View File

@@ -663,8 +663,8 @@ _connection_handler(xmpp_conn_t * const conn,
chat_sessions_init();
xmpp_handler_add(conn, _message_handler, NULL, STANZA_NAME_MESSAGE, NULL, ctx);
xmpp_handler_add(conn, presence_handler, NULL, STANZA_NAME_PRESENCE, NULL, ctx);
presence_add_handlers();
iq_add_handlers();
if (prefs_get_autoping() != 0) {