Skip to main content

Module membership

Module membership 

Source

ModulesΒ§

auto_accept πŸ”’
Acceptance of incoming invites on behalf of local users.
ban πŸ”’
invite πŸ”’
join πŸ”’
kick πŸ”’
knock πŸ”’
leave πŸ”’
stripped_state πŸ”’
unban πŸ”’

StructsΒ§

Join
Service

EnumsΒ§

StrippedCreateVerdict
MSC4311 verdict for the create event carried in federated stripped state.

FunctionsΒ§

dedup_stripped_state
Collapse a federated stripped-state array to one entry per state cell.
enforce_stripped_create
Whether a non-Valid verdict warrants rejecting an invite or dropping the event from knock state, given the room version and operator policy.
into_client_stripped
Down-convert a federation stripped-state entry to the 4-field client shape, reducing a full PDU to content, sender, optional state_key, and type.
v12_room_ids
Whether the room version derives room ids from the create event hash (MSC4291, room version 12 and above), which changes how a create event binds to its room.
without_member
Drop the entries occupying a user’s membership cell.