Expand description
User and room account data storage.
The service stores raw account data events behind monotonic update counters and maintains a secondary index by room, user, and event type. Its streams expose changes for incremental sync.
Modulesยง
- direct ๐
- Direct-room account data helpers.
- push_
rules ๐ - Room push-rule migration helpers.
- room_
tags ๐ - Room tag account data helpers.
Structsยง
Constantsยง
- MAX_
RULES - Maximum number of push rules one account may hold.
- MAX_
RULE_ BYTES - Largest match and action data stored for one rule, in bytes.
- MAX_
RULE_ ID_ BYTES - Longest rule ID stored, in bytes.
Functionsยง
- admits_
rule - Whether a ruleset has room for the rule with the given kind and ID.