diff --git a/crates/projection-xmpp/src/message.rs b/crates/projection-xmpp/src/message.rs index 9369076..44aab05 100644 --- a/crates/projection-xmpp/src/message.rs +++ b/crates/projection-xmpp/src/message.rs @@ -19,9 +19,7 @@ impl<'a> XmppConnection<'a> { }) = m.to { if server.0.as_ref() == "rooms.localhost" && m.r#type == MessageType::Groupchat { - self.user_handle - .send_message(RoomId::from(name.0.clone())?, m.body.clone().into()) - .await?; + self.user_handle.send_message(RoomId::from(name.0.clone())?, m.body.clone().into()).await?; Message::<()> { to: Some(Jid { name: Some(self.user.xmpp_name.clone()),