Skip to content

Commit

Permalink
Add missing group context extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas committed Mar 19, 2024
1 parent eb811fb commit 27ecd46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion openmls/src/extensions/test_extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ fn last_resort_extension(ciphersuite: Ciphersuite, provider: &impl OpenMlsProvid
let welcome: MlsMessageIn = welcome.into();
let welcome = welcome.into_welcome().expect("expected a welcome");

let _bob_group = StagedWelcome::new_from_welcome(
let bob_group = StagedWelcome::new_from_welcome(
provider,
mls_group_create_config.join_config(),
welcome,
Expand Down
4 changes: 4 additions & 0 deletions openmls/src/group/core_group/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,10 @@ impl CoreGroup {
self.public_group.group_context()
}

pub fn group_context_extensions(&self) -> &Extensions {
self.context().extensions()
}

/// Get the group ID
pub(crate) fn group_id(&self) -> &GroupId {
self.public_group.group_id()
Expand Down

0 comments on commit 27ecd46

Please sign in to comment.