Add trusted state after OMEMO decryption

Use it to print message on red background if not trusted.
This commit is contained in:
Paul Fariello
2019-06-07 23:53:44 +02:00
parent 2604786cb6
commit a650ecc67d
7 changed files with 24 additions and 18 deletions

View File

@@ -49,6 +49,7 @@ typedef struct {
uint32_t registration_id;
GHashTable *trusted;
bool recv;
bool trusted;
} identity_key_store_t;
GHashTable * session_store_new(void);