Mercurial > prosody-modules
view mod_csi_simple_compat/README.markdown @ 4203:c4002aae4ad3
mod_s2s_keepalive: Use timestamp as iq @id
RFC 6120 implies that the id attribute must be unique within a stream.
This should fix problems with remote servers that enforce uniqueness and
don't answer duplicated ids.
If it doesn't do that, then at least you can get a guesstimate at
round-trip time from the difference between the result iq stanza and the
timestamp it was logged without having to go look for when it was sent,
or needing to keep state.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 14 Oct 2020 18:02:10 +0200 |
parents | fcea7cf91702 |
children |
line wrap: on
line source
# About This module allows using the [mod_csi_simple][doc:modules:mod_csi_simple] setting `csi_important_payloads` (added in trunk/0.12) in Prosody 0.11.x. # Config ``` modules_enabled = { -- other modules etc "csi_simple", "csi_simple_compat", } csi_important_payloads = { -- Anything in this namespace: "{urn:example:important-namespace}", -- Specific element name and namespace: "{urn:example:xmpp:priority}super-important", } ``` # Example ``` lua csi_important_payloads = { -- XEP-0353: Jingle Message Initiation "{urn:xmpp:jingle-message:0}", } ```