Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new proposal types #7

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

franziskuskiefer
Copy link

This PR adds new proposal types for add and remove.

richardhuaaa
richardhuaaa approved these changes Dec 21, 2023
@@ -70,6 +70,8 @@ pub enum ProposalIn {
// was moved to `draft-ietf-mls-extensions-00`.
#[tls_codec(discriminant = 8)]
AppAck(AppAckProposal),
DeviceAdd(AddProposalIn),
DeviceRemoveProposal(RemoveProposal),

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

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