Skip to main content

Module group_mutable_metadata

Module group_mutable_metadata 

Source

Structs§

GroupMutableMetadata
Represents the mutable metadata for a group.
MessageDisappearingSettings
Settings for disappearing messages in a conversation.

Enums§

GroupMutableMetadataError
Errors that can occur when working with GroupMutableMetadata.
MetadataField
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 ↔ ComponentId bijection over the Bytes/String-typed mutable-metadata family. The dict↔legacy merge below and the lookup helpers in xmtp_mls::groups::app_data::component_source all derive from this table.

Functions§

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. No-op when the extensions carry no AppData dictionary.
merge_dict_into_mutable_metadata_lossy
Merge available dictionary fields for legacy migration. Keep defaults for absent fields. Omit malformed values without replacing them with defaults.