summaryrefslogtreecommitdiff
path: root/xmpp/session.go
diff options
context:
space:
mode:
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) {