Commit graph

10 commits

Author SHA1 Message Date
Kim Alvefur
98922d54b1 plugins: Prefix module imports with prosody namespace 2023-03-24 13:15:28 +01:00
Kim Alvefur
d649e78d6d 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
2020-04-22 23:36:25 +02:00
Emmanuel Gil Peyrot
08c4231d4a mod_lastactivity: Simplify iq handling by hooking on iq-get/ instead of iq/. 2018-08-24 20:34:34 +02:00
Kim Alvefur
8003a40b0a mod_lastactivity, mod_legacyauth, mod_presence, mod_saslauth, mod_tls: Use the newer stanza:get_child APIs and optimize away some table lookups 2014-07-04 22:52:34 +02:00
Florian Zeitz
1d833bb807 Remove all trailing whitespace 2013-08-09 17:48:21 +02:00
Matthew Wild
2bc0606453 Update copyright headers for 2010 2010-03-22 17:06:15 +00:00
Waqas Hussain
2eb8cf191a mod_lastactivity: Gave a positive priority to the presence event hook. 2009-10-21 11:29:43 +05:00
Waqas Hussain
22cd9aadf6 mod_lastactivity: Persist data across reloads. 2009-10-21 01:02:26 +05:00
Waqas Hussain
ee5999b307 mod_lastactivity: Allow users to request their own last activity. 2009-10-21 01:01:46 +05:00
Waqas Hussain
766508f5f8 mod_lastactivity: Initial commit. 2009-10-18 22:49:03 +05:00