Skip to content

new proposal types#7

Open
franziskuskiefer wants to merge 2 commits intoxmtp:mainfrom
openmls:cryspen/new-proposals
Open

new proposal types#7
franziskuskiefer wants to merge 2 commits intoxmtp:mainfrom
openmls:cryspen/new-proposals

Conversation

@franziskuskiefer
Copy link

This PR adds new proposal types for add and remove.

richardhuaaa
richardhuaaa approved these changes Dec 21, 2023
#[tls_codec(discriminant = 8)]
AppAck(AppAckProposal),
DeviceAdd(AddProposalIn),
DeviceRemoveProposal(RemoveProposal),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason this one isn't just DeviceRemove for consistency?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No reason... this should be DeviceRemove 🙂

@richardhuaaa
Copy link
Collaborator

Was the thinking that the additional metadata would go into a separate PR?

@franziskuskiefer
Copy link
Author

Was the thinking that the additional metadata would go into a separate PR?

This was the minimal thing and I forgot about the metadata. That's a small addition that I'll do. It just requires a new proposal struct with a some opaque bytes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants