also stop provisioning the hive space and make hivectl matrix invite take a room
This commit is contained in:
parent
c0dc4b07f4
commit
fd01848d4d
2 changed files with 83 additions and 437 deletions
|
|
@ -15,9 +15,8 @@ device's token instead of adding a device.
|
|||
the operator names. Neither call is an appservice call, so neither carries the
|
||||
appservice token.
|
||||
|
||||
`hive-c0re` provisions the hive Space with the room calls
|
||||
(`joined_rooms`, `room_state`, `put_state`, `create_room`, `invite`,
|
||||
`resolve_alias`), and `hive-matrix-mcp` recovers a session's user and device id
|
||||
`hive-c0re` invites users into rooms with the room calls (`room_state`,
|
||||
`invite`, `resolve_alias`), and `hive-matrix-mcp` recovers a session's user and device id
|
||||
with `whoami_session`. Each takes the caller's `reqwest::Client`, so the caller
|
||||
sets its own timeout; `client()` is the 10 second default.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
//! The calls against a Matrix homeserver's client-server API shared by the
|
||||
//! swarm and the hive: the appservice calls (register, log in, ask a token who
|
||||
//! it is), the room calls `swarm-controller`'s admin-room commands and
|
||||
//! `hive-c0re`'s Space provisioning need (resolve an alias, list
|
||||
//! `hive-c0re`'s invites need (resolve an alias, list
|
||||
//! members and joined rooms, read and set room state, create a room, invite, send
|
||||
//! a message, check an account exists), and the password login and logout
|
||||
//! `swarm-controller` runs for an operator-linked account on any homeserver.
|
||||
|
|
|
|||
Loading…
Reference in a new issue