diff options
Diffstat (limited to 'src/xmpp/blocking.c')
-rw-r--r-- | src/xmpp/blocking.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xmpp/blocking.c b/src/xmpp/blocking.c index 06bbadf6..735b9140 100644 --- a/src/xmpp/blocking.c +++ b/src/xmpp/blocking.c @@ -73,7 +73,7 @@ blocking_request(void) } blocked_ac = autocomplete_new(); - id_handler_add(id, _blocklist_result_handler, id); + iq_id_handler_add(id, _blocklist_result_handler, id); iq = stanza_create_blocked_list_request(ctx); xmpp_stanza_set_id(iq, id); @@ -132,7 +132,7 @@ blocked_add(char *jid) xmpp_stanza_add_child(iq, block); xmpp_stanza_release(block); - id_handler_add(id, _block_add_result_handler, strdup(jid)); + iq_id_handler_add(id, _block_add_result_handler, strdup(jid)); send_iq_stanza(iq); xmpp_stanza_release(iq); @@ -171,7 +171,7 @@ blocked_remove(char *jid) xmpp_stanza_add_child(iq, block); xmpp_stanza_release(block); - id_handler_add(id, _block_remove_result_handler, strdup(jid)); + iq_id_handler_add(id, _block_remove_result_handler, strdup(jid)); send_iq_stanza(iq); xmpp_stanza_release(iq); |