summaryrefslogtreecommitdiff
path: root/xmpp/session.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-06-30 13:22:15 +0200
committerxengineering <me@xengineering.eu>2023-06-30 13:22:15 +0200
commit04f24e0dade8caf029cb78d3281b3587a8362cbe (patch)
treee1ce4b1c0cce0b6ad0ce2cfc23e3a7e38ec9e469 /xmpp/session.go
parentf3aa8bec6e7d91b84a73688191751f9723c008a8 (diff)
downloadlimox-04f24e0dade8caf029cb78d3281b3587a8362cbe.tar
limox-04f24e0dade8caf029cb78d3281b3587a8362cbe.tar.zst
limox-04f24e0dade8caf029cb78d3281b3587a8362cbe.zip
Rework and apply stream nesting on SASL success
If SASL authentication is successful a new stream has to be opened by the client. This is implemented with this commit.
Diffstat (limited to 'xmpp/session.go')
-rw-r--r--xmpp/session.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmpp/session.go b/xmpp/session.go
index f14cd34..bfa2582 100644
--- a/xmpp/session.go
+++ b/xmpp/session.go
@@ -19,7 +19,6 @@ type session struct {
transport *tls.Conn
ed encoderDecoder
rx chan xml.Token
- streamEnd xml.EndElement
}
func StartSession(out chan<- any, jid string, pwd string) (in chan<- any) {