Sun, 07 Jun 2009 18:06:01 +0500
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