Skip to main content

Module creation

Module creation 

Source
Expand description

App-data dictionary values that are synthesized when a conversation is created.

initial_dictionary builds the epoch-0 dictionary, including the registry entries a new conversation takes from the backend catalogue. catalogue_registry_entries selects those entries; a later commit reuses it to register the ones a group is missing.

Enums§

InitialGroupKind
The immutable values for a new conversation.

Functions§

catalogue_registry_entries
The registry entries a conversation takes from a backend catalogue: each valid definition selected for conversation_type (in_groups for a group, in_dms for a DM, none for a sync group) whose type and policy tags this build knows.
encode_metadata_attribute_value
Translate a legacy GroupMutableMetadata attribute string into the AppData wire bytes for that component.
initial_dictionary
Build the complete dictionary stored in epoch zero. Collection values are stored snapshots, not proposal deltas. catalogue is the client’s backend snapshot; only its eligible definitions enter the registry, and no component value is taken from it.
synthesize_registry_from_policy_set
Produce a populated ComponentRegistry from the legacy [PolicySetProto]. Deterministic: every honest peer synthesizes bit-identical output from the same input.