Software /
code /
prosody
Diff
plugins/mod_lastactivity.lua @ 2029:d2363643a5c0
mod_lastactivity: Gave a positive priority to the presence event hook.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 21 Oct 2009 11:29:43 +0500 |
parent | 2026:97b17187b29d |
child | 2923:b7049746bd29 |
line wrap: on
line diff
--- a/plugins/mod_lastactivity.lua Wed Oct 21 02:18:17 2009 +0500 +++ b/plugins/mod_lastactivity.lua Wed Oct 21 11:29:43 2009 +0500 @@ -23,7 +23,7 @@ s = s and #s.tags == 0 and s[1] or ""; map[event.origin.username] = {s = s, t = t}; end -end); +end, 10); module:hook("iq/bare/jabber:iq:last:query", function(event) local origin, stanza = event.origin, event.stanza;