diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-09-13 16:35:48 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-09-13 16:35:48 +0100 |
commit | b3cfe2bd756130511003632da06aedd0f7dc7193 (patch) | |
tree | b0c749993e031bfa71f9cb2b0b672b83c20bd985 /core/statsmanager.lua | |
parent | fee3f096fc0515a3e496bfafdcedbcd515a789b0 (diff) | |
download | prosody-b3cfe2bd756130511003632da06aedd0f7dc7193.tar.gz prosody-b3cfe2bd756130511003632da06aedd0f7dc7193.zip |
util.stanza: Don't automatically generate ids for iq stanzas
Users of this API should provide their own id attribute that meets their
uniqueness requirements.
The current implementation leaks information (i.e. how many iq stanzas
have been sent by the server to other JIDs). Providing any strong
guarantees of randomness here would need to pull in additional
dependencies that we don't want in this simple library.
Diffstat (limited to 'core/statsmanager.lua')
0 files changed, 0 insertions, 0 deletions