Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Stephane Raux <[email protected]>
  • Loading branch information
mulmarta and stefunctional authored Dec 28, 2023
1 parent 55770ce commit 9ad1fa6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mls-rs/src/group/external_commit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ impl<C: ClientConfig> ExternalCommitBuilder<C> {
self
}

#[cfg(feature = "custom_proposal")]
#[cfg(all(feature = "custom_proposal", feature = "by_ref_proposal"))]
#[must_use]
/// Insert a [`CustomProposal`] received from a current group member into the current
/// commit that is being built.
Expand All @@ -135,7 +135,6 @@ impl<C: ClientConfig> ExternalCommitBuilder<C> {
/// same way as by [`ExternalGroup`](`crate::external_client::ExternalGroup`).
/// The proposal MUST be an MlsPlaintext, else the [`Self::build`] function will fail.
pub fn with_received_custom_proposal(mut self, proposal: MlsMessage) -> Self {
//use super::message_verifier::verify_plaintext_authentication;

self.received_custom_proposals.push(proposal);
self
Expand Down

0 comments on commit 9ad1fa6

Please sign in to comment.