Skip to main content

tuwunel_admin/room/
exists.rs

1use ruma::OwnedRoomId;
2use tuwunel_core::Result;
3
4use crate::admin_command;
5
6#[admin_command]
7pub(super) async fn room_exists(&self, room_id: OwnedRoomId) -> Result {
8	let result = self.services.metadata.exists(&room_id).await;
9
10	write!(self, "{result}").await
11}