Skip to main content

Module profile

Module profile 

Source

Structs§

Service

Enums§

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.

Constants§

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.

Functions§

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.