Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas committed Jan 7, 2024
1 parent b1a817d commit 7ba76ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions openmls/src/group/core_group/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ impl CoreGroupBuilder {
self
}

/// Set the `group_context_extensions` of the [`CoreGroup`].
pub fn with_group_context_extensions(mut self, extensions: Extensions) -> Self {
self.public_group_builder = self
.public_group_builder
Expand Down
2 changes: 2 additions & 0 deletions openmls/src/group/mls_group/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ impl MlsGroupConfig {
&self.crypto_config
}

/// Set the `group_context_extensions` property of the MlsGroupConfig.
pub fn group_context_extensions(&self) -> &Extensions {
&self.group_context_extensions
}
Expand Down Expand Up @@ -226,6 +227,7 @@ impl MlsGroupConfigBuilder {
self
}

/// Sets the `group_context_extensions` property of the MlsGroupConfig.
pub fn group_context_extensions(mut self, extensions: Extensions) -> Self {
self.config.group_context_extensions = extensions;
self
Expand Down

0 comments on commit 7ba76ba

Please sign in to comment.