~samwhited/xmpp

9e167719f2a8302e0694db8a93cc139ab25f5fb6 — Sam Whited 3 months ago de40e6f
xmpp: simplify xml wrapping

Signed-off-by: Sam Whited <sam@samwhited.com>
1 files changed, 1 insertions(+), 1 deletions(-)

M session.go
M session.go => session.go +1 -1
@@ 547,7 547,7 @@ func handleInputStream(s *Session, handler Handler) (err error) {
		if c != nil {
			inner := xmlstream.Inner(r)
			c <- iqResponder{
				r: xmlstream.MultiReader(xmlstream.Token(start), inner, xmlstream.Token(start.End())),
				r: xmlstream.Wrap(inner, start),
				c: c,
			}
			<-c