xmpp_codec, client: handle StreamEnd

This commit is contained in:
Astro 2019-01-26 21:07:15 +01:00
commit 599e3be32e
3 changed files with 38 additions and 3 deletions

View file

@ -88,6 +88,8 @@ pub enum ProtocolError {
NoStreamId,
/// Encountered an unexpected XML token
InvalidToken,
/// Unexpected <stream:stream> (shouldn't occur)
InvalidStreamStart,
}
/// Authentication error