1
0
mirror of https://gitlab.com/xmpp-rs/xmpp-rs.git synced 2024-06-11 18:54:03 +02:00

tokio-xmpp: Remove newline after stream:stream

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2023-06-21 12:02:30 +02:00
parent e9cbeb1863
commit ac22765f21

View File

@ -175,7 +175,7 @@ impl Encoder<Packet> for XMPPCodec {
self.ns = Some(value);
}
}
write!(buf, ">\n").map_err(to_io_err)?;
write!(buf, ">").map_err(to_io_err)?;
write!(dst, "{}", buf)?;
let utf8 = std::str::from_utf8(dst)?;