Compare commits

..

View file

@ -888,10 +888,8 @@ pub async fn ensure_admin_user(client: &reqwest::Client, register_token: &str) -
/// (`#admins:<server>`). Sends `!admin users make-user-admin @<localpart>:<server>` as /// (`#admins:<server>`). Sends `!admin users make-user-admin @<localpart>:<server>` as
/// @hive, polls for the bot's "Done:" success response. /// @hive, polls for the bot's "Done:" success response.
/// ///
/// Workaround for a once-missing `/_synapse/admin/v2/users` in tuwunel — /// tuwunel 1.6.x does not implement `/_synapse/admin/v2/users`; all admin
/// not re-verified against the version currently deployed. Whether the /// operations go through the admin room.
/// admin-room polling here can become a direct HTTP call is an open
/// question tracked on the forge.
pub async fn promote_user_to_admin( pub async fn promote_user_to_admin(
client: &reqwest::Client, client: &reqwest::Client,
admin_token: &str, admin_token: &str,