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

runfix: separate method for registering mls 1:1 conversation #6122

Merged
merged 2 commits into from
Apr 5, 2024

Conversation

PatrykBuniX
Copy link
Contributor

@PatrykBuniX PatrykBuniX commented Apr 4, 2024

Adds a separate method for registering a 1:1 conversation with a given user. When no keys of the user we want to create a 1:1 conversation with are available, we will throw an error which then can be handled by a consumer. For group conversations we keep the behaviour of creating an empty group by sending an empty commit (key packages update) if no keys are available, we don't want to do that for 1:1 conversations - backend requires a first commit sent in a MLS 1:1 conversation to add exactly one other user.

Pull Request Checklist

Copy link
Contributor

@przemvs przemvs left a comment

Choose a reason for hiding this comment

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

Code LGTM

@PatrykBuniX PatrykBuniX merged commit bb4e579 into main Apr 5, 2024
7 checks passed
@PatrykBuniX PatrykBuniX deleted the runfix/register-1to1-conversation branch April 5, 2024 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants