mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 15:36:21 +00:00
Fix devicelist subscription and handle pubsub event
Devicelist subscription can be done directly with caps_add feature.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#include <glib.h>
|
||||
|
||||
#include "config/account.h"
|
||||
|
||||
typedef struct omemo_context_t omemo_context;
|
||||
@@ -5,12 +7,12 @@ typedef struct omemo_context_t omemo_context;
|
||||
void omemo_init(void);
|
||||
void omemo_generate_crypto_materials(ProfAccount *account);
|
||||
|
||||
GList * const omemo_device_list(void);
|
||||
uint32_t omemo_device_id(void);
|
||||
void omemo_identity_key(unsigned char **output, size_t *length);
|
||||
void omemo_signed_prekey(unsigned char **output, size_t *length);
|
||||
void omemo_signed_prekey_signature(unsigned char **output, size_t *length);
|
||||
void omemo_prekeys(GList ** const prekeys, GList ** const ids, GList ** const lengths);
|
||||
void omemo_set_device_list(const char *const jid, GList * const device_list);
|
||||
|
||||
void omemo_start_session(ProfAccount *account, char *barejid);
|
||||
gboolean omemo_loaded(void);
|
||||
|
||||
Reference in New Issue
Block a user