Skylar-Tech / node-red-contrib-matrix-chat

Matrix chat server support for Node-RED
GNU General Public License v3.0
31 stars 10 forks source link

Check username availability node #8

Open skylord123 opened 2 years ago

skylord123 commented 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.