summaryrefslogtreecommitdiff
path: root/xmpp/presence.go
AgeCommit message (Collapse)Author
2023-07-04Remove xmpp.presence typexengineering
This was empty and has no benefit.
2023-07-03Move xml.Encoder to session structxengineering
The encoderDecoder sub-struct of the session struct should be removed in little steps. This is the first one.
2023-07-03Use xml.Encoder.EncodeElement() for presencexengineering
This required the trick of defining an empty struct as `presence` type but works pretty well. For sending data EncodeElement instead of token handling should always work. Since it is simpler it should be used.
2023-06-30Send initial presence after resource resultxengineering
This completes the connection process.