mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-21 19:56:21 +00:00
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.
12 lines
513 B
C
12 lines
513 B
C
#include <glib.h>
|
|
|
|
#include "xmpp/iq.h"
|
|
|
|
void omemo_devicelist_subscribe(void);
|
|
void omemo_devicelist_publish(GList *device_list);
|
|
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);
|