Structs§
- Group
Mutable Metadata - Represents the mutable metadata for a group.
- Message
Disappearing Settings - Settings for disappearing messages in a conversation.
Enums§
- Group
Mutable Metadata Error - Errors that can occur when working with GroupMutableMetadata.
- Metadata
Field - Represents the “updateable” metadata fields for a group. Members ability to update metadata is gated by the group permissions.
Constants§
- METADATA_
FIELD_ COMPONENT_ MAP - Single source of truth for the
MetadataField↔ComponentIdbijection over the Bytes/String-typed mutable-metadata family. The dict↔legacy merge below and the lookup helpers inxmtp_mls::groups::app_data::component_sourceall derive from this table.
Functions§
- extensions_
are_ migrated - Production migration predicate over raw extensions: the group is
post-bootstrap iff the AppData dictionary carries the
COMPONENT_REGISTRYentry (the bootstrap commit’s first write). - extract_
legacy_ group_ mutable_ metadata - Read
GroupMutableMetadatafrom the legacy group-context extension only. - extract_
legacy_ group_ mutable_ metadata_ from_ extensions - Same as
extract_legacy_group_mutable_metadata, but reads directly from a group’sGroupContextextensions — no fullOpenMlsGroupneeded. - find_
mutable_ metadata_ extension - Finds the mutable metadata extension in the given MLS Extensions.
- merge_
dict_ into_ mutable_ metadata - Overlay the AppData dictionary’s metadata components onto
base— the dict→legacy direction of the capability-aware read paths. - merge_
dict_ into_ mutable_ metadata_ lossy - Best-effort variant of
merge_dict_into_mutable_metadatathat degrades per-field instead of failing per-group: every component that decodes is applied tobase, every component that doesn’t is skipped, and the errors are returned so the caller can log them (empty vec = clean merge).