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

Expose Message Kind #621

Merged
merged 6 commits into from
Apr 6, 2024
Merged

Expose Message Kind #621

merged 6 commits into from
Apr 6, 2024

Conversation

nplasterer
Copy link
Contributor

Part of #522

Exposes the message kind on FfiMessage so integrators can tell if a groupChange was malicious or not.

@nplasterer nplasterer self-assigned this Apr 5, 2024
@nplasterer nplasterer marked this pull request as ready for review April 6, 2024 00:04
@nplasterer nplasterer requested a review from a team as a code owner April 6, 2024 00:04
let group = MlsGroup::new(
self.inner_client.as_ref(),
self.group_id.clone(),
self.created_at_ns,
);
let message = group.process_streamed_group_message(envelope_bytes).await?;
let ffi_message = message.into();

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Everything here and above was from running cargo fmt.

@nplasterer nplasterer merged commit 4068715 into main Apr 6, 2024
7 checks passed
@nplasterer nplasterer deleted the np/message-kind branch April 6, 2024 04:27
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.

3 participants