Ensure encrypted carbon of own message are marked as encrypted

This commit is contained in:
Paul Fariello
2019-03-27 13:37:09 +01:00
parent daf84ced0c
commit 2015ba201d
4 changed files with 42 additions and 4 deletions

View File

@@ -932,7 +932,7 @@ _handle_carbons(xmpp_stanza_t *const stanza)
// else treat as a sent message
} else {
sv_ev_outgoing_carbon(jid_to->barejid, message_txt, enc_message);
sv_ev_outgoing_carbon(jid_to->barejid, message_txt, enc_message, omemo);
}
xmpp_ctx_t *ctx = connection_get_ctx();