Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bee0de56e4 | ||
|
|
148a8e59ce |
1 changed files with 4 additions and 2 deletions
|
|
@ -888,8 +888,10 @@ 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.
|
||||||
///
|
///
|
||||||
/// tuwunel 1.6.x does not implement `/_synapse/admin/v2/users`; all admin
|
/// Workaround for a once-missing `/_synapse/admin/v2/users` in tuwunel —
|
||||||
/// operations go through the admin room.
|
/// 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.
|
||||||
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