adminroom: add server_in_room state cache accessor

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry committed 2024-06-10 19:45:04 -04:00
1 parent d2063013b4
commit 016270b33b
2 files changed
+21

No files matched your search

+5
View File
@@ -136,6 +136,11 @@ pub(crate) enum RoomAlias {
#[cfg_attr(test, derive(Debug))]
#[derive(Subcommand)]
pub(crate) enum RoomStateCache {
ServerInRoom {
server: Box<ServerName>,
room_id: Box<RoomId>,
},
RoomServers {
room_id: Box<RoomId>,
},