diff options
author | Kim Alvefur <zash@zash.se> | 2022-08-14 17:28:31 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-08-14 17:28:31 +0200 |
commit | e2807b035edf7d5588dbe8359fc6c1e6b9adf178 (patch) | |
tree | cf9cf2bcfd9ab7f700048b94ba4b9e3137229d52 /core/sessionmanager.lua | |
parent | c85c18b03ab627ee81273d4c0f0009e1a5cc2d03 (diff) | |
download | prosody-e2807b035edf7d5588dbe8359fc6c1e6b9adf178.tar.gz prosody-e2807b035edf7d5588dbe8359fc6c1e6b9adf178.zip |
mod_mam: Store archives with sub-second precision timestamps
Changes sub-second part of example timestamp to .5 in order to avoid
floating point issues.
Some clients use timestamps when ordering messages which can lead to
messages having the same timestamp ending up in the wrong order.
It would be better to preserve the order messages are sent in, which is
the order they were stored in.
Diffstat (limited to 'core/sessionmanager.lua')
0 files changed, 0 insertions, 0 deletions