summaryrefslogtreecommitdiff
path: root/xmpp/session.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-06-30 20:43:12 +0200
committerxengineering <me@xengineering.eu>2023-06-30 20:43:25 +0200
commit0774275597131badfba5045b14f9632a78d063e8 (patch)
tree51d302e473b5474de8ed74dad42a387fa3e441fb /xmpp/session.go
parente2c057571ae309cf503851ab8f63c2159f2ef4bc (diff)
parentff92af1410f3c37c6cfa5fb7ff6e322c8d691121 (diff)
downloadlimox-0774275597131badfba5045b14f9632a78d063e8.tar
limox-0774275597131badfba5045b14f9632a78d063e8.tar.zst
limox-0774275597131badfba5045b14f9632a78d063e8.zip
Merge branch 'initial-presence'
This broadcasts that the LimoX client is ready for communication.
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) {