Add preference/commands for carbons message

This commit is contained in:
Olivier LE MOAL
2015-02-03 15:27:56 +01:00
parent e3feacddd6
commit 2a12a4d93b
12 changed files with 85 additions and 6 deletions

View File

@@ -162,6 +162,16 @@ iq_enable_carbons()
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)
{