Compare commits
1 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
/// @hive, polls for the bot's "Done:" success response.
|
||||
///
|
||||
/// Workaround for a once-missing `/_synapse/admin/v2/users` in tuwunel —
|
||||
/// not re-verified against the version currently deployed. Whether the
|
||||
/// admin-room polling here can become a direct HTTP call is an open
|
||||
/// question tracked on the forge.
|
||||
/// tuwunel 1.6.x does not implement `/_synapse/admin/v2/users`; all admin
|
||||
/// operations go through the admin room.
|
||||
pub async fn promote_user_to_admin(
|
||||
client: &reqwest::Client,
|
||||
admin_token: &str,
|
||||
|
|
|
|||
Loading…
Reference in a new issue