diff options
author | xengineering <me@xengineering.eu> | 2023-07-03 20:49:19 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-07-03 20:59:55 +0200 |
commit | eca0649c1e0a72fbea4899a295443eac69600bfd (patch) | |
tree | d70d17bc7c62cd53739a76b6386752296cd3658a /xmpp/stream_pair.go | |
parent | bde6e0c5095c1fd73058dc8dab408fd5f27aee7c (diff) | |
download | limox-eca0649c1e0a72fbea4899a295443eac69600bfd.tar limox-eca0649c1e0a72fbea4899a295443eac69600bfd.tar.zst limox-eca0649c1e0a72fbea4899a295443eac69600bfd.zip |
Use xml.Encoder.EncodeElement() for presence
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.
Diffstat (limited to 'xmpp/stream_pair.go')
0 files changed, 0 insertions, 0 deletions