split admin command enum from handler
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
263e338088
commit
ccfa939bd3
6 changed files with 89 additions and 84 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue