admin command path simplifications; fix message to room

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-06-15 23:52:55 +00:00
parent 3813628acd
commit 02bd67dc4b
3 changed files with 103 additions and 97 deletions

View file

@ -475,7 +475,7 @@ impl Service {
if admin::is_admin_command(pdu, &body).await {
services()
.admin
.command(body, Some(pdu.event_id.clone()))
.command(body, Some((*pdu.event_id).into()))
.await;
}
}