Skip to content

Commit

Permalink
Set max epochs on create config
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas committed Oct 9, 2024
1 parent 90d1604 commit 043b347
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openmls/src/group/mls_group/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ impl MlsGroupBuilder {
.map_err(LibraryError::unexpected_crypto_error)?;

let message_secrets_store = MessageSecretsStore::new_with_secret(
self.max_past_epochs.unwrap_or_default(),
self.max_past_epochs
.unwrap_or(mls_group_create_config.max_past_epochs()),
message_secrets,
);

Expand Down

0 comments on commit 043b347

Please sign in to comment.