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
|
/// (`#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,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue