diff options
author | Olivier LE MOAL <olivier.lemoal@winamax.fr> | 2015-02-02 11:10:05 +0100 |
---|---|---|
committer | Olivier LE MOAL <olivier.lemoal@winamax.fr> | 2015-02-10 11:32:22 +0100 |
commit | 48f9f3b3b0d4e12f55ba5ea2c34695e899916c3d (patch) | |
tree | 374b896113ea765bbaf05545bc42da0ff66d3570 /src/xmpp/iq.c | |
parent | 5c9dd2802a6aefcaa67cbf03a65128b595b587c9 (diff) | |
download | profani-tty-48f9f3b3b0d4e12f55ba5ea2c34695e899916c3d.tar.gz |
Add XEP-0280 support
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 bc12b780..90b87676 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(); |