Make a user on your homeserver leave every room.
cp ./config.example.js ./config.js
- Edit config.js to make it point to your synapse postgres database (this is needed in order to extract auth tokens)
node ./quit.js <matrix_handle>
- Sometimes the script thinks the person is in rooms they're actually not in and tries to quit them, so after it's done it may still try to quit someone from some rooms.
- You can't use it on people who are hosted on a homeserver that you don't control, even if they're assholes.