Skip to main content

Module utils

Module utils 

Source

ConstantsΒ§

UNFEDERATABLE_CAVEAT πŸ”’

FunctionsΒ§

check_existing_local_user πŸ”’
Refuses a user unless they are local and hold an account.
check_known_remote_user πŸ”’
get_room_info πŸ”’
parse_active_local_user_id πŸ”’
Parses user ID that is an active (not guest or deactivated) local user.
parse_existing_local_user_id πŸ”’
Parses user ID as our local user holding an account, deactivated or not.
parse_local_user_id πŸ”’
Parses user ID as our local user.
parse_user_id πŸ”’
Parses user ID.
room_enabled_reply πŸ”’
Builds the reply for a command that re-enables a room’s inbound federation handling.