mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 23:36:21 +00:00
Add prof_message_t to wrap all message attributes
Probably missing copy of body to plain in carbon and privmessage. Only covers the incoming message path because goal is OMEMO decryption of untrusted message. Cover some of the log functions but not all.
This commit is contained in:
@@ -414,7 +414,7 @@ is_trusted_identity(const signal_protocol_address *address, uint8_t *key_data,
|
||||
|
||||
|
||||
if (identity_key_store->recv) {
|
||||
identity_key_store->trusted = ret;
|
||||
identity_key_store->trusted_msg = ret;
|
||||
return 1;
|
||||
} else {
|
||||
return ret;
|
||||
|
||||
@@ -49,7 +49,7 @@ typedef struct {
|
||||
uint32_t registration_id;
|
||||
GHashTable *trusted;
|
||||
bool recv;
|
||||
bool trusted;
|
||||
bool trusted_msg;
|
||||
} identity_key_store_t;
|
||||
|
||||
GHashTable * session_store_new(void);
|
||||
|
||||
Reference in New Issue
Block a user