diff options
author | James Booth <boothj5@gmail.com> | 2015-03-08 21:51:50 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-03-08 21:51:50 +0000 |
commit | 945f29873ec6fb275cdaac72f1e6f143650464b5 (patch) | |
tree | 08116e2b1e5505aee66b432c8863a85888fb7a51 /src/xmpp/iq.c | |
parent | 232bf9b7fc80b0f2013359f002d38bc7a4d9c50f (diff) | |
parent | d89112e13894d4d6a23846997ea7ef0c42674fe4 (diff) | |
download | profani-tty-945f29873ec6fb275cdaac72f1e6f143650464b5.tar.gz |
Merge remote-tracking branch 'oliverlemoal/xep-0280' into xep-0280
Diffstat (limited to 'src/xmpp/iq.c')
-rw-r--r-- | src/xmpp/iq.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c index c0a982fa..62193c74 100644 --- a/src/xmpp/iq.c +++ b/src/xmpp/iq.c @@ -153,6 +153,26 @@ iq_room_list_request(gchar *conferencejid) } void +iq_enable_carbons() +{ + xmpp_conn_t * const conn = connection_get_conn(); + xmpp_ctx_t * const ctx = connection_get_ctx(); + xmpp_stanza_t *iq = stanza_enable_carbons(ctx); + xmpp_send(conn, iq); + xmpp_stanza_release(iq); +} + +void +iq_disable_carbons() +{ + xmpp_conn_t * const conn = connection_get_conn(); + xmpp_ctx_t * const ctx = connection_get_ctx(); + xmpp_stanza_t *iq = stanza_disable_carbons(ctx); + xmpp_send(conn, iq); + xmpp_stanza_release(iq); +} + +void iq_disco_info_request(gchar *jid) { xmpp_conn_t * const conn = connection_get_conn(); |