diff options
author | James Booth <boothj5@gmail.com> | 2014-01-25 21:29:17 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-01-25 21:29:17 +0000 |
commit | 8600efa55b49dbeb276b42072cbb419686e94909 (patch) | |
tree | 665ba46a4478cc27e3be2353df3b8a8179621a69 /src/xmpp | |
parent | 6a15a09ed7322c70021b827f1d40cbab4f98c89e (diff) | |
download | profani-tty-8600efa55b49dbeb276b42072cbb419686e94909.tar.gz |
Renamed _room_presence_handler -> _muc_user_handler
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/presence.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/xmpp/presence.c b/src/xmpp/presence.c index 164e309e..2126d8a5 100644 --- a/src/xmpp/presence.c +++ b/src/xmpp/presence.c @@ -53,8 +53,7 @@ static int _unsubscribed_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, void * const userdata); static int _available_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, void * const userdata); - -static int _room_presence_handler(xmpp_conn_t * const conn, +static int _muc_user_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, void * const userdata); static char* _get_caps_key(xmpp_stanza_t * const stanza); @@ -73,7 +72,7 @@ presence_add_handlers(void) xmpp_conn_t * const conn = connection_get_conn(); xmpp_ctx_t * const ctx = connection_get_ctx(); - HANDLE(STANZA_NS_MUC_USER, NULL, _room_presence_handler); + HANDLE(STANZA_NS_MUC_USER, NULL, _muc_user_handler); HANDLE(NULL, STANZA_TYPE_UNAVAILABLE, _unavailable_handler); HANDLE(NULL, STANZA_TYPE_SUBSCRIBE, _subscribe_handler); HANDLE(NULL, STANZA_TYPE_SUBSCRIBED, _subscribed_handler); @@ -588,7 +587,7 @@ _get_caps_key(xmpp_stanza_t * const stanza) } static int -_room_presence_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, +_muc_user_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, void * const userdata) { // handler still fires if error |