diff options
author | Kim Alvefur <zash@zash.se> | 2020-04-22 23:36:25 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-04-22 23:36:25 +0200 |
commit | d649e78d6d7e2977e6e60e26262eac1161631857 (patch) | |
tree | 0633eb8abc20ea49b4a214ca3bf88d84f665e614 /plugins/mod_offline.lua | |
parent | bc0e389d47b0a40e1ea871fe4ff583746af928be (diff) | |
download | prosody-d649e78d6d7e2977e6e60e26262eac1161631857.tar.gz prosody-d649e78d6d7e2977e6e60e26262eac1161631857.zip |
mod_lastactivity: Encode seconds as decimal, not float
In Lua 5.3 difftime() takes integers as argument but returns a float,
and then tostring() serializes it with a decimal point. This violates
XEP-0012.
Like #1536
Diffstat (limited to 'plugins/mod_offline.lua')
0 files changed, 0 insertions, 0 deletions