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)?;