about summary refs log tree commit diff stats
path: root/src/omemo/store.h
diff options
context:
space:
mode:
authorPaul Fariello <paul@fariello.eu>2019-06-07 23:53:44 +0200
committerPaul Fariello <paul@fariello.eu>2019-06-20 14:29:55 +0200
commita650ecc67d700ae14a1bd05ca6196533829ba5ce (patch)
treecf7ffbe8db598e9f313fc739757b9daf44a83ce3 /src/omemo/store.h
parent2604786cb6fcf1c541000a971c59d709ef12abf5 (diff)
downloadprofani-tty-a650ecc67d700ae14a1bd05ca6196533829ba5ce.tar.gz
Add trusted state after OMEMO decryption
Use it to print message on red background if not trusted.
Diffstat (limited to 'src/omemo/store.h')
-rw-r--r--src/omemo/store.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/omemo/store.h b/src/omemo/store.h
index f3a9274a..628b1df9 100644
--- a/src/omemo/store.h
+++ b/src/omemo/store.h
@@ -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);