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

Simplify and cleanup MLS message handling #2844

Merged
merged 7 commits into from
Nov 15, 2022
Merged

Conversation

pcapriotti
Copy link
Contributor

@pcapriotti pcapriotti commented Nov 15, 2022

This is an attempt to simplify and streamline the logic of MLS message handling. There is still a lot of complexity there, but hopefully less than before. This PR also introduces optional Client IDs taken from the tokens into the MLS message handlers. Making those IDs mandatory and changing conversation creation logic in the V3 API will happen in a separate PR.

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@pcapriotti pcapriotti temporarily deployed to cachix November 15, 2022 08:16 Inactive
@pcapriotti pcapriotti temporarily deployed to cachix November 15, 2022 08:16 Inactive
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Nov 15, 2022
@pcapriotti pcapriotti temporarily deployed to cachix November 15, 2022 08:17 Inactive
@pcapriotti pcapriotti temporarily deployed to cachix November 15, 2022 08:17 Inactive
@pcapriotti pcapriotti marked this pull request as ready for review November 15, 2022 08:18
@mdimjasevic mdimjasevic self-requested a review November 15, 2022 09:03
@smatting smatting self-requested a review November 15, 2022 09:26
Copy link
Contributor

@mdimjasevic mdimjasevic left a comment

Choose a reason for hiding this comment

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

@pcapriotti , it all looks good except that I am not too sure of that group info storing before checks. If you confirm it is fine this way, feel free to merge.

services/galley/src/Galley/API/MLS/Message.hs Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants