mod_lastactivity: Gave a positive priority to the presence event hook.

Wed, 21 Oct 2009 11:29:43 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Wed, 21 Oct 2009 11:29:43 +0500
changeset 2029
d2363643a5c0
parent 2028
4f33100195a0
child 2030
d9382a16af5b

mod_lastactivity: Gave a positive priority to the presence event hook.

plugins/mod_lastactivity.lua file | annotate | diff | comparison | revisions
--- 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;

mercurial