summary refs log tree commit diff
path: root/src/CacheCryptoStructs.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-03-15 16:24:01 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-03-15 16:24:01 +0100
commit569ea5b5f475a09d6257ba5529ffa36d4074dd4d (patch)
treeb22db0ea2a849fe212ebac5b12b4f7e837b980d1 /src/CacheCryptoStructs.h
parentMerge pull request #525 from salahmak/image-upload-dialog (diff)
downloadnheko-569ea5b5f475a09d6257ba5529ffa36d4074dd4d.tar.xz
Rotate session keys properly
Diffstat (limited to 'src/CacheCryptoStructs.h')
-rw-r--r--src/CacheCryptoStructs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CacheCryptoStructs.h b/src/CacheCryptoStructs.h
index 383d7b05..c884107e 100644
--- a/src/CacheCryptoStructs.h
+++ b/src/CacheCryptoStructs.h
@@ -28,6 +28,7 @@ struct OutboundGroupSessionData
         std::string session_id;
         std::string session_key;
         uint64_t message_index = 0;
+        uint64_t timestamp     = 0;
 
         // who has access to this session.
         // Rotate, when a user leaves the room and share, when a user gets added.