mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 22:27:38 +03:00
mod_pep: Give the presence handler a higher than default priority
This commit is contained in:
parent
1878c49948
commit
2ef63904d6
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ module:hook("presence/bare", function(data)
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue