Open skylord123 opened 2 years ago
Currently this is possible by fetching a list of every user on the server but that is intensive whereas using this admin API endpoint checks for a single username availability: https://matrix-org.github.io/synapse/develop/admin_api/user_admin_api.html#check-username-availability
One note is that this doesn't mean the user exists. User's can be deleted but their username will still be unavailable.
Currently this is possible by fetching a list of every user on the server but that is intensive whereas using this admin API endpoint checks for a single username availability: https://matrix-org.github.io/synapse/develop/admin_api/user_admin_api.html#check-username-availability
One note is that this doesn't mean the user exists. User's can be deleted but their username will still be unavailable.