Free timestamps and carbons stanzas

This commit is contained in:
James Booth
2015-08-09 00:40:37 +01:00
parent d944e8252e
commit 783342a48c
2 changed files with 11 additions and 3 deletions

View File

@@ -213,6 +213,7 @@ stanza_enable_carbons(xmpp_ctx_t *ctx){
xmpp_stanza_set_ns(carbons_enable, STANZA_NS_CARBONS);
xmpp_stanza_add_child(iq, carbons_enable);
xmpp_stanza_release(carbons_enable);
return iq;
}
@@ -232,6 +233,7 @@ stanza_disable_carbons(xmpp_ctx_t *ctx){
xmpp_stanza_set_ns(carbons_disable, STANZA_NS_CARBONS);
xmpp_stanza_add_child(iq, carbons_disable);
xmpp_stanza_release(carbons_disable);
return iq;
}