admin command path simplifications; fix message to room
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
3813628acd
commit
02bd67dc4b
3 changed files with 103 additions and 97 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue