about summary refs log tree commit diff stats
path: root/src/omemo
diff options
context:
space:
mode:
Diffstat (limited to 'src/omemo')
-rw-r--r--src/omemo/store.c2
-rw-r--r--src/omemo/store.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/omemo/store.c b/src/omemo/store.c
index 51d5e67a..61f39c8b 100644
--- a/src/omemo/store.c
+++ b/src/omemo/store.c
@@ -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;
diff --git a/src/omemo/store.h b/src/omemo/store.h
index 628b1df9..a1524c62 100644
--- a/src/omemo/store.h
+++ b/src/omemo/store.h
@@ -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);