-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consent State Group & Member Associations and Bindings (#1057)
* add consent to the group and member tables * add the consent to the members * add consent to new groups * add the consent state to the stored group * expose the consent state on the bindings * add method for updating the consent state * add the consent state to the group * add binding for updating consent on a group * add set methods * add bindings for fetching the consent state * remove the clone call * remove some unwraps * update the clippy * cargo fmt * clean up the translation code to use into * Update xmtp_mls/src/groups/mod.rs Co-authored-by: Andrew Plaza <github.tech@liquidthink.net> * map the error * add a test for group consent to the bindings * add a test for address and inbox consent * handle the address versus inboxid * get the tests failing more accuratly * remove the field on group so that there is just one table source of truth * add default of allowed * get one of the tests passing * get both tests passing * cargo clippy * write a test for the client * small tweaks in clean up * small tweaks in clean up * add a final test * cargo fmt * make the test more stable --------- Co-authored-by: Andrew Plaza <github.tech@liquidthink.net>
- Loading branch information
1 parent
6b7a163
commit 7e70ad4
Showing
6 changed files
with
317 additions
and
13 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.