Open erskingardner opened 21 hours ago
The .extensions()
function of GroupInfo
will give you GroupInfo extensions, which are conceptually different from GroupContext extensions. The missing piece here seems to be access to the GroupContext s.t. you can get access to the GroupContext extensions. There really should be a getter for the GroupContext for the StagedWelcome. Do you want to create a PR for that?
Happy to. Thanks!
I have created a custom GroupContext extension to store some application specific data. I noticed while building out the welcome flow that the extension isn't present in the
VerifiableGroupInfo.extensions()
response. Which comes back with just the ratchet tree extension.I'm not sure if this is the expected behavior or not. I would have expected to get a list of all extensions for the group in the welcome objects so that I can inspect (and ultimately show the user) some of that context before they decide to join the group. There doesn't seem to be another easy way to get to the
group_context
directly via theProcessedWelcome
orStagedWelcome
structs given the group_context is a private prop.My extension uses
Unknown(65385)
as the identifier and you can see it here when I inspect the fullVerifiableGroupInfo
objectWhen I call
VerifiableGroupInfo.extensions()
I get this back: