style: appease rustfmt

This commit is contained in:
Matthias Ahouansou 2024-02-16 21:19:40 +00:00
parent 4c06f329c4
commit 976a73a0e5
2 changed files with 3 additions and 6 deletions

View file

@ -133,7 +133,8 @@ impl Service {
.ok_or_else(|| Error::bad_database("Event in space state not found"))?;
if serde_json::from_str::<SpaceChildEventContent>(pdu.content.get())
.ok().map(|c| c.via)
.ok()
.map(|c| c.via)
.map_or(true, |v| v.is_empty())
{
continue;