From fbfd3092305bb140be260bd76eb069a62c6d8a06 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Wed, 1 May 2024 09:39:35 -0700 Subject: [PATCH 1/2] Update openmls/src/group/mls_group/proposal.rs Co-authored-by: Cameron Voell <1103838+cameronvoell@users.noreply.github.com> --- openmls/src/group/mls_group/proposal.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmls/src/group/mls_group/proposal.rs b/openmls/src/group/mls_group/proposal.rs index d6c3d5d12..177e37b5d 100644 --- a/openmls/src/group/mls_group/proposal.rs +++ b/openmls/src/group/mls_group/proposal.rs @@ -394,7 +394,7 @@ impl MlsGroup { #[allow(clippy::type_complexity)] pub fn update_group_context_extensions( &mut self, - provider: &impl OpenMlsProvider, + provider: &Provider, extensions: Extensions, signer: &impl Signer, ) -> Result< From e6a25538b63909ba0ba963ba42400134123ffa1b Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Wed, 1 May 2024 09:39:47 -0700 Subject: [PATCH 2/2] Update openmls/src/group/mls_group/proposal.rs Co-authored-by: Cameron Voell <1103838+cameronvoell@users.noreply.github.com> --- openmls/src/group/mls_group/proposal.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmls/src/group/mls_group/proposal.rs b/openmls/src/group/mls_group/proposal.rs index 177e37b5d..b76a46bd3 100644 --- a/openmls/src/group/mls_group/proposal.rs +++ b/openmls/src/group/mls_group/proposal.rs @@ -413,7 +413,7 @@ impl MlsGroup { .proposal_store(&self.proposal_store) .inline_proposals(inline_proposals) .build(); - let create_commit_result = self.group.create_commit(params, provider, signer).unwrap(); + let create_commit_result = self.group.create_commit(params, provider, signer)?; let mls_messages = self.content_to_mls_message(create_commit_result.commit, provider)?; self.group_state = MlsGroupState::PendingCommit(Box::new(PendingCommitState::Member(