Skip to main content

Module profiles

Module profiles 

Source

StructsΒ§

Candidate πŸ”’
Delta fields, with an empty set selecting the shared requested base.
Candidates πŸ”’
Candidate subjects with delta fields or a complete requested base.
MemberContent πŸ”’
Just the membership of a member event’s content.

EnumsΒ§

Input πŸ”’

FunctionsΒ§

carries_a_field πŸ”’
changed πŸ”’
The fields changed in (since, next_batch] that this client may see.
collect πŸ”’
Collects the MSC4429 profile updates for a legacy sync response.
collect_user πŸ”’
field_update πŸ”’
fold_change πŸ”’
Records that one member changed one field.
initial_bases πŸ”’
initial_members πŸ”’
initial_room πŸ”’
insert_delta πŸ”’
is_base πŸ”’
joined_room_members πŸ”’
The members one joined room’s payload names.
lazy_room πŸ”’
merge_candidates πŸ”’
merge_fields πŸ”’
merge_subject πŸ”’
own_change πŸ”’
present_member πŸ”’
The subject of a membership event that can introduce a profile base.
read_field πŸ”’
read_update πŸ”’
Reads back what the collected fields hold now.
room_changed πŸ”’
room_changes πŸ”’
selected_fields πŸ”’
state_events πŸ”’
visible πŸ”’
was_requested πŸ”’
Whether the client’s filter asked for the field.
witnessed πŸ”’
Adds current bases for the initial scope and members this response names.

Type AliasesΒ§

Changes πŸ”’
Every field the syncing user is entitled to read back, by user.
Delta πŸ”’
FieldValue πŸ”’
One field paired with whatever reading it back produced.
Fields πŸ”’
The profile fields one user changed or holds.
Updates πŸ”’
The values one user’s entry carries, by field name.
Users πŸ”’
The MSC4429 users block of a legacy sync response.