xmpp_codec: encode </stream:stream>

This commit is contained in:
Astro 2019-01-29 01:51:22 +01:00
commit 1e7031aa31

View file

@ -317,8 +317,10 @@ impl Encoder for XMPPCodec {
}) })
.map_err(to_io_err) .map_err(to_io_err)
} }
// TODO: Implement all Packet::StreamEnd => {
_ => Ok(()), write!(dst, "</stream:stream>\n")
.map_err(to_io_err)
}
} }
} }
} }