mod_pep: Give the presence handler a higher than default priority

Sun, 07 Jun 2009 18:06:01 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Sun, 07 Jun 2009 18:06:01 +0500
changeset 1327
20285e9d71ee
parent 1326
4f1994f7bd54
child 1328
0709c9564b1c
child 1332
f7fed9f77455

mod_pep: Give the presence handler a higher than default priority

plugins/mod_pep.lua file | annotate | diff | comparison | revisions
--- a/plugins/mod_pep.lua	Sun Jun 07 18:04:56 2009 +0500
+++ b/plugins/mod_pep.lua	Sun Jun 07 18:06:01 2009 +0500
@@ -61,7 +61,7 @@
 			end
 		end
 	end
-end);
+end, 10);
 
 module:add_iq_handler("c2s", "http://jabber.org/protocol/pubsub", function (session, stanza)
 	if stanza.attr.type == 'set' and (not stanza.attr.to or jid_bare(stanza.attr.from) == stanza.attr.to) then

mercurial