Re-exports§
pub use self::group_permissions::PreconfiguredPolicies;pub use intents::UpdateGroupMembershipResult;
Modules§
- app_
data - App-data plumbing for moving group state from group context extensions
onto OpenMLS
AppDataUpdateproposals. - change_
callbacks - Unstable: post-commit notification of group-state changes.
- commit_
log - commit_
log_ key - group_
membership - group_
permissions - intents
- members
- message_
list - oneshot
- send_
message_ opts - summary
- validated_
commit - welcome_
pointer - welcome_
sync
Structs§
- Conversation
Debug Info - Conversation
List Item - Enable
Proposals Options - Options for
MlsGroup::enable_proposals. - Failed
Installation Ids - Installation IDs that failed key package verification during a membership update.
- Group
Membership Capabilities - A generic membership/capability snapshot for a group.
- Inbox
Capabilities - Per-inbox grouping of installation capabilities. Callers map
inbox_idback to a profile to attribute capabilities to a person. - Initial
Membership Validator - Check every installation against the exact identity state named by the Welcome.
- Installation
Capabilities - Capability snapshot for a single installation (device) of a member.
- MlsGroup
- An LibXMTP MlsGroup
NOTE: The Eq implementation compares
GroupId, so a dm group with the same identity will be different. the Hash implementation hashes theGroupId - Queryable
Content Fields - Fields extracted from content of a message that should be stored in the DB
- Welcome
Membership - Public membership data from a trial decode. It contains no mutable MLS state.
- Xmtp
Welcome - Create a group from a decrypted and decoded welcome message. An existing group can be replaced only after its removal has been processed.
- Xmtp
Welcome Builder - Builder for
XmtpWelcome.
Enums§
- Delete
Message Error - DmValidation
Error - Group
Error - Group
Leave Validation Error - Metadata
Permissions Error - MlsExtension
Type - An MLS extension type advertised by an installation’s key package or present in a group’s context.
- Update
Admin List Type
Traits§
- Validate
Group Membership - Validate public trial membership, then recheck exact proofs under the writer.
Functions§
- build_
dm_ mutable_ metadata_ extension_ default - build_
extensions_ for_ admin_ lists_ update - build_
extensions_ for_ membership_ update - Build extensions with updated group membership for a GroupContextExtensions proposal. This is used when proposing to add or remove members to include the membership update alongside the Add/Remove proposals.
- build_
extensions_ for_ metadata_ update - build_
extensions_ for_ permissions_ update - build_
group_ membership_ extension - build_
mutable_ metadata_ extension_ default - build_
starting_ group_ membership_ extension - check_
proposals_ enabled - Check if the given extensions belong to a migrated group.
- filter_
inbox_ ids_ needing_ updates - update_
required_ capabilities_ for_ bootstrap - Update RequiredCapabilities for the bootstrap commit:
- update_
required_ capabilities_ for_ proposals - Update the
RequiredCapabilitiesextension to add or removeExtensionType::AppDataDictionary. Per MLS RFC 9420 §7.2, unknown extensions in the group context MUST be listed in the required capabilities, so this must be called whenever the AppData dictionary extension is added to or removed from the group context.