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

MLS Dms - Dual Sending Pre-requisites #1076

Merged
merged 19 commits into from
Oct 1, 2024
Merged

MLS Dms - Dual Sending Pre-requisites #1076

merged 19 commits into from
Oct 1, 2024

Conversation

cameronvoell
Copy link
Contributor

@cameronvoell cameronvoell commented Sep 19, 2024

Closes #1074

This feature branch fulfills the pre-requisites for libxmtp clients before the "Dual Sending" phase of our migration from 1 to 1 messages as V2 Conversations, to having all 1 to 1 messages being backed by V3 MLS DM Groups.

This feature branch encorporates the following three PRs:

  1. All Clients agree on how to verify if a weclome message for a DM group is valid => Validate dm group metadata + permissions from welcome #1075
  2. All Clients agree on how to verify if a commit in a DM group is valid => Adds functions for creating a DM group #901
  3. DM Groups are not returned by SDK facing list and stream conversation functions => DM updates - default to not displaying dm groups #1046

cameronvoell and others added 7 commits July 30, 2024 08:23
* update bindings cargo locks

* Added dm group functionality

* dm members can update all metadata

* fix tests

* fix indentation

* fix test imports

* gen protos back to main

---------

Co-authored-by: cameronvoell <[email protected]>
* create the database migration for the private preference work

* update the table to be focused on consent

* first pass at database storage structure

* update the get method for consent records

* fix up the set method

* add a test

* fix up the test

* fix up the clippy error with consent record

* fix up the clippy error with consent record

* fix up all clippy issues

* cargo fmt
Copy link

graphite-app bot commented Sep 19, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

cameronvoell and others added 4 commits September 19, 2024 11:08
* validate dm group before creating from welcome

* lint fix

* lint fix

---------

Co-authored-by: cameronvoell <[email protected]>
* bindings create_dm function

* find groups by default does not include dm groups

* fmt fix

* dont execute callbacks when dm group welcomes are streamed

* Update bindings_ffi/src/mls.rs

Co-authored-by: Andrew Plaza <[email protected]>

* fixed bad merge

* filter dms in stream_conversations

* surface include_dm_groups in bindings list function more clearly

---------

Co-authored-by: cameronvoell <[email protected]>
Co-authored-by: Andrew Plaza <[email protected]>
@cameronvoell cameronvoell marked this pull request as ready for review September 21, 2024 06:40
@cameronvoell cameronvoell requested a review from a team as a code owner September 21, 2024 06:40
xmtp_mls/src/groups/mod.rs Outdated Show resolved Hide resolved
@nplasterer nplasterer enabled auto-merge (squash) October 1, 2024 18:00
@nplasterer nplasterer merged commit bb7a38f into main Oct 1, 2024
9 checks passed
@nplasterer nplasterer deleted the mls-dm-release branch October 1, 2024 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Dual Sending - Pre-requisites
4 participants