Skip to main content Module profile Copy item path Source remote π Service Propagation Per-update policy for fanning a global profile change out to each of
the userβs joined rooms as a fresh m.room.member event. Mirrors the
MSC4466 propagate_to axis. MAX_KEY_LENGTH π MSC4133 maximum profile field-name length, in bytes. MAX_PROFILE_SIZE π MSC4133 maximum total profile size (64 KiB), measured over the JSON of the
full profile including displayname and avatar_url. MAX_STATUS_EMOJI_LENGTH π MSC4426 maximum m.status emoji length, in bytes. MAX_STATUS_TEXT_LENGTH π MSC4426 maximum m.status text length, in bytes. MAX_TIMEZONE_COMPONENTS π Maximum number of /-separated components in an m.tz name. MAX_TIMEZONE_LENGTH π Maximum m.tz length, in bytes. apply_fields π Lays a profile write over a roomβs member content. assign π check_call π Validate an MSC4426 call indicator. check_profile_key π Validate a profile field name against the Common Namespaced Identifier
Grammar: a lowercase-leading identifier over [a-z0-9_.-], matching the
reference homeserver. Length is bounded separately by MAX_KEY_LENGTH. check_profile_value π Validate a profile field value against the schema of the proposal naming
the field. check_status π Validate an MSC4426 status against its two required fields and their byte
budgets. check_status_length π Bound one status field by its byte budget. check_timezone π Validate an MSC4175 time zone against the shape of an IANA Time Zone
Database name. is_timezone_component π Test one /-separated component of an m.tz name. is_timezone_name π Test a string against the tzfile naming rules, narrowed to what every name
the database ships actually uses. ChangeKeyVal π A row of the profile change log: the fieldβs name rides the key so that a
write covering several fields needs one count, and the value names the user
for the rows keyed by room. ChangedFields π The field names one write actually changes, almost always just the one the
caller named. ClearedFields π The field names a profile holds when it is cleared. ProfileChange One logged profile write: the user whose profile was written, and the name
of a field the write logged. ProfileLock π ProfileValue π One field of a profile write: the name and the value to store, or None
to clear it. ProspectiveProfile π The stored profile as it would read after one candidate field is written.