refactor a ton of the admin room code (50% done)

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry
2024-04-20 19:13:18 -04:00
parent 73cf7cd578
commit cb784a63f6
20 changed files with 1002 additions and 935 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ pub(crate) enum Globals {
}
/// All the getters and iterators from src/database/key_value/globals.rs
pub(crate) async fn globals(subcommand: Globals) -> Result<RoomMessageEventContent> {
pub(super) async fn globals(subcommand: Globals) -> Result<RoomMessageEventContent> {
match subcommand {
Globals::DatabaseVersion => {
let timer = tokio::time::Instant::now();