diff --git a/openmls/src/group/mls_group/builder.rs b/openmls/src/group/mls_group/builder.rs index 0cc854da9..3d6777d95 100644 --- a/openmls/src/group/mls_group/builder.rs +++ b/openmls/src/group/mls_group/builder.rs @@ -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, );