diff options
author | Paul Fariello <paul@fariello.eu> | 2019-03-01 05:10:23 +0220 |
---|---|---|
committer | Paul Fariello <paul@fariello.eu> | 2019-04-10 16:03:50 +0200 |
commit | 810ea3222319e349bfc149fd85be470247b66c96 (patch) | |
tree | e701635c55f90f7be45758083d06e32df48d27ac /src/xmpp/omemo.h | |
parent | d871efdcf91cce85e0dcc543d5be51b32871903f (diff) | |
download | profani-tty-810ea3222319e349bfc149fd85be470247b66c96.tar.gz |
Follow normal workflow for OMEMO message reception
We try to decrypt all messages, if it's successful we use sv_ev_incoming_message even for OMEMO messages. We pass an OMEMO boolean to let UI be aware that message were encrypted.
Diffstat (limited to 'src/xmpp/omemo.h')
-rw-r--r-- | src/xmpp/omemo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmpp/omemo.h b/src/xmpp/omemo.h index c384c4f0..81c3b979 100644 --- a/src/xmpp/omemo.h +++ b/src/xmpp/omemo.h @@ -8,3 +8,4 @@ void omemo_devicelist_request(const char * const jid); void omemo_bundle_publish(void); void omemo_bundle_request(const char * const jid, uint32_t device_id, ProfIqCallback func, ProfIqFreeCallback free_func, void *userdata); int omemo_start_device_session_handle_bundle(xmpp_stanza_t *const stanza, void *const userdata); +char * omemo_receive_message(xmpp_stanza_t *const stanza); |