split admin command enum from handler

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-07-22 22:24:17 +00:00
parent 263e338088
commit ccfa939bd3
6 changed files with 89 additions and 84 deletions

View file

@ -2,7 +2,7 @@ use std::fmt::Write;
use ruma::events::room::message::RoomMessageEventContent;
use crate::{escape_html, get_room_info, handler::PAGE_SIZE, services, Result};
use crate::{escape_html, get_room_info, services, Result, PAGE_SIZE};
pub(super) async fn list(
_body: Vec<&str>, page: Option<usize>, exclude_disabled: bool, exclude_banned: bool,