Add support for disconnect in OMEMO

This commit is contained in:
Paul Fariello
2019-03-22 00:03:16 +01:00
parent bc541cb8ac
commit 91ee289c77
7 changed files with 140 additions and 40 deletions

View File

@@ -405,6 +405,7 @@ message_send_chat_omemo(const char *const jid, uint32_t sid, GList *keys,
xmpp_stanza_add_child(body, body_text);
xmpp_stanza_release(body_text);
xmpp_stanza_add_child(message, body);
xmpp_stanza_release(body);
if (state) {
stanza_attach_state(ctx, message, state);