Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas committed Aug 19, 2024
1 parent 2f0c9a9 commit cf42738
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openmls/src/group/mls_group/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ pub enum UpdateGroupMembershipError<StorageError> {
CreateCommitError(#[from] CreateCommitError<StorageError>),
/// See [`MlsGroupStateError`] for more details.
#[error(transparent)]
GroupStateError(#[from] MlsGroupStateError<StorageError>),
GroupStateError(#[from] MlsGroupStateError),
/// The member that should be removed can not be found.
#[error("The member that should be removed can not be found.")]
UnknownMember,
Expand Down
3 changes: 2 additions & 1 deletion openmls/src/group/mls_group/membership.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ impl MlsGroup {

let params = CreateCommitParams::builder()
.framing_parameters(self.framing_parameters())
.proposal_store(&self.proposal_store)
.inline_proposals(proposals)
.build();
let create_commit_result = self.group.create_commit(params, provider, signer)?;
Expand All @@ -77,6 +76,8 @@ impl MlsGroup {
.write_group_state(self.group_id(), &self.group_state)
.map_err(UpdateGroupMembershipError::StorageError)?;

self.reset_aad();

Ok((
mls_messages,
create_commit_result
Expand Down

0 comments on commit cf42738

Please sign in to comment.