summaryrefslogtreecommitdiff
path: root/xmpp/session.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-06-30 20:40:47 +0200
committerxengineering <me@xengineering.eu>2023-06-30 20:40:47 +0200
commitdee833b803494ce962c577ddf950795a2fd490ae (patch)
treef353e8c8d653d9d94ab7e45a624ac8bd27f0e32f /xmpp/session.go
parente2c057571ae309cf503851ab8f63c2159f2ef4bc (diff)
downloadlimox-dee833b803494ce962c577ddf950795a2fd490ae.tar
limox-dee833b803494ce962c577ddf950795a2fd490ae.tar.zst
limox-dee833b803494ce962c577ddf950795a2fd490ae.zip
Send initial presence after resource result
This completes the connection process.
Diffstat (limited to 'xmpp/session.go')
-rw-r--r--xmpp/session.go15
1 files changed, 8 insertions, 7 deletions
diff --git a/xmpp/session.go b/xmpp/session.go
index bfa2582..a43e4f4 100644
--- a/xmpp/session.go
+++ b/xmpp/session.go
@@ -12,13 +12,14 @@ type SessionDisconnect struct{}
type SessionShouldDisconnect struct{}
type session struct {
- jid string
- pwd string
- in chan any
- out chan<- any
- transport *tls.Conn
- ed encoderDecoder
- rx chan xml.Token
+ jid string
+ pwd string
+ in chan any
+ out chan<- any
+ transport *tls.Conn
+ ed encoderDecoder
+ rx chan xml.Token
+ resourceReq string
}
func StartSession(out chan<- any, jid string, pwd string) (in chan<- any) {