aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_mam/mod_mam.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-04-22 23:36:25 +0200
committerKim Alvefur <zash@zash.se>2020-04-22 23:36:25 +0200
commitf4ef7e458730d5913fe6760892f713657b8be007 (patch)
tree0633eb8abc20ea49b4a214ca3bf88d84f665e614 /plugins/mod_mam/mod_mam.lua
parent95906a0ef4699b745fd5dfbef3729c8041b0e2b4 (diff)
downloadprosody-f4ef7e458730d5913fe6760892f713657b8be007.tar.gz
prosody-f4ef7e458730d5913fe6760892f713657b8be007.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_mam/mod_mam.lua')
0 files changed, 0 insertions, 0 deletions