Skip to content

Commit

Permalink
feat: increase max past epoch to 3 since backend inordering of messag…
Browse files Browse the repository at this point in the history
…es requires client's config to backend's one + 1
  • Loading branch information
beltram committed Aug 10, 2023
1 parent 53b18d3 commit 9070c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/src/mls/conversation/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use crate::mls::credential::trust_anchor::PerDomainTrustAnchor;
use crate::prelude::{CryptoResult, MlsCiphersuite};

/// Sets the config in OpenMls for the oldest possible epoch(past current) that a message can be decrypted
pub(crate) const MAX_PAST_EPOCHS: usize = 2;
pub(crate) const MAX_PAST_EPOCHS: usize = 3;

/// The configuration parameters for a group/conversation
#[derive(Debug, Clone, Default)]
Expand Down

0 comments on commit 9070c81

Please sign in to comment.