Skip to content

Commit

Permalink
Write message secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas committed Aug 17, 2024
1 parent 6ea8d17 commit 53fdb50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openmls/src/group/core_group/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,10 @@ impl CoreGroup {
if let Some(message_secrets) = self.merge_commit(provider, staged_commit)? {
self.message_secrets_store
.add(past_epoch, message_secrets, leaves);
provider
.storage()
.write_message_secrets(self.group_id(), &self.message_secrets_store)
.map_err(|err| MergeCommitError::StorageError(err))?;
}
// Empty the proposal store
proposal_store.empty();
Expand Down

0 comments on commit 53fdb50

Please sign in to comment.