diff options
author | xengineering <me@xengineering.eu> | 2023-06-30 20:40:47 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-06-30 20:40:47 +0200 |
commit | dee833b803494ce962c577ddf950795a2fd490ae (patch) | |
tree | f353e8c8d653d9d94ab7e45a624ac8bd27f0e32f /xmpp/session.go | |
parent | e2c057571ae309cf503851ab8f63c2159f2ef4bc (diff) | |
download | limox-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.go | 15 |
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) { |