@@ -249,9 +249,6 @@ function add_user_matrix {
read_config_param 'MATRIX_SECRET'
matrix_nginx
- if [ -f /var/lib/matrix/.synapse/bin/activate ]; then
- source /var/lib/matrix/.synapse/bin/activate
- fi
register_new_matrix_user -c ${MATRIX_DATA_DIR}/homeserver.yaml -u "${new_username}" -p "${new_user_password}" -a
echo "0"
}