From f20658559c25281abd66311976a0191c68f68917 Mon Sep 17 00:00:00 2001 From: Nikita Vilunov Date: Sat, 14 Oct 2023 21:13:49 +0200 Subject: [PATCH] format --- crates/projection-xmpp/src/message.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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()),