misc cleanup

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-10-03 10:03:31 +00:00 committed by strawberry
parent 57e0a5f65d
commit f503ed918c
7 changed files with 49 additions and 71 deletions

View file

@ -198,7 +198,6 @@ impl Service {
Ok(None) => debug!("Command successful with no response"),
Ok(Some(output)) | Err(output) => self
.handle_response(output)
.boxed()
.await
.unwrap_or_else(default_log),
}
@ -277,6 +276,7 @@ impl Service {
};
self.respond_to_room(content, &pdu.room_id, response_sender)
.boxed()
.await
}