Server for sending and receiving XMPP messages.
The primary purpose of this class is to communicate with the legacy server for fetching old client data. If that changes, all of the legacy functions and constants should be moved to a separate module.
At some point, the legacy functions and constants should be retired.
Receive XMPP chat messages for application.
Send queued XMPP messages.
Retry XMPP messages that have been sent and had no status update.
Enqueue an XMPP message.
destination : string
message_str : string
transactional : bool, optional
To embed destinations in logs, the JID is currently split into the user and domain. If the JID includes a resource, this will fail. To enable resource strings, either modify the regex for domain to support including or replacing a ‘/’, or pass the destination as a post argument instead.