Previously we were always skipping the end of child elements, even if we
had fully decoded that element and read to the end (as we did with
"text" elements, meaning we would skip over the next child after a
"text" element instead of just fast-forwarding to the end of the current
child as intended.
This improves CI to actually check that we get the correct value for the
text field as well.
Signed-off-by: Sam Whited <sam@samwhited.com>
An Extensible Messaging and Presence Protocol (XMPP) library in Go.
XMPP (sometimes known as "Jabber") is a protocol for near-real-time data
transmission, most commonly used for instant messaging, video chat signaling,
and related functionality.
This library aims to provide general protocol support with additional packages
that focus on modern instant messaging use cases.
This library supports instant messaging features such as:
Individual and group chat,
Blocking and unblocking users,
Forms and commands (eg. for controlling bots and gateways),
Retrieving message history,
General publish-subscribe semantics for storing state and data,
Parsing simple text styling (eg. bold, italic, quotes, etc.),
and more!
To use it in your project, import it (or any of its other packages) like so:
importmellium.im/xmpp
If you're looking to get started and need some help, see the API docs or
look in the examples/ tree for several simple usage examples.
If you'd like to contribute to the project, see CONTRIBUTING.md.
License
The package may be used under the terms of the BSD 2-Clause License a copy of
which may be found in the file "LICENSE".
Some code in this package has been copied from Go and is used under the terms of
Go's modified BSD license, a copy of which can be found in the LICENSE-GO
file.
Unless you explicitly state otherwise, any contribution submitted for inclusion
in the work by you shall be licensed as above, without any additional terms or
conditions.