diff options
author | Joseph Donofry <joedonofry@gmail.com> | 2021-08-10 19:29:58 -0400 |
---|---|---|
committer | Joseph Donofry <joedonofry@gmail.com> | 2021-08-10 19:29:58 -0400 |
commit | c91e771d538d99c9353b779ac4dd0d93a77cca6b (patch) | |
tree | a0b583cf945b5cd09622ccb68b9fc8ad0e369794 /src/CacheCryptoStructs.h | |
parent | Merge remote-tracking branch 'nheko-im/master' into video_player_enhancements (diff) | |
parent | Protect against replay attacks (diff) | |
download | nheko-c91e771d538d99c9353b779ac4dd0d93a77cca6b.tar.xz |
Merge origin/master and fix conflicts
Diffstat (limited to 'src/CacheCryptoStructs.h')
-rw-r--r-- | src/CacheCryptoStructs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CacheCryptoStructs.h b/src/CacheCryptoStructs.h index 409c9d67..69d64885 100644 --- a/src/CacheCryptoStructs.h +++ b/src/CacheCryptoStructs.h @@ -50,6 +50,9 @@ struct GroupSessionData std::string sender_claimed_ed25519_key; std::vector<std::string> forwarding_curve25519_key_chain; + //! map from index to event_id to check for replay attacks + std::map<uint32_t, std::string> indices; + // who has access to this session. // Rotate, when a user leaves the room and share, when a user gets added. SharedWithUsers currently; |