Skip to main content

Module validated_commit

Module validated_commit 

Source

Structs§

CommitParticipant
Inbox
LibXMTPVersion
Wrapper around semver::Version used for the MIN_SUPPORTED_PROTOCOL_VERSION floor and related min-version checks.
MetadataFieldChange
MutableMetadataValidationInfo
ValidatedCommit
A ValidatedCommit is a summary of changes coming from a MLS commit, after all of our validation rules have been applied

Enums§

CommitValidationError

Functions§

extract_group_membership
Get the GroupMembership from a GroupContext struct.
validate_proposal
Validates a single proposal by checking if the proposer has the required permissions. Returns Ok(()) if the proposal is valid, or an error if validation fails.