xmpp_codec: encode </stream:stream>
This commit is contained in:
parent
39346506c8
commit
1e7031aa31
1 changed files with 4 additions and 2 deletions
|
|
@ -317,8 +317,10 @@ impl Encoder for XMPPCodec {
|
|||
})
|
||||
.map_err(to_io_err)
|
||||
}
|
||||
// TODO: Implement all
|
||||
_ => Ok(()),
|
||||
Packet::StreamEnd => {
|
||||
write!(dst, "</stream:stream>\n")
|
||||
.map_err(to_io_err)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue