mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_pubsub: Lower priority of default <body> generator
in order to avoid conflict with a handler at the default (0) priority, making it easier to write your own formatting in plugins. this follows the common pattern of default modules having lower priority
This commit is contained in:
parent
0b9a8e9ac3
commit
33776b811d
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ module:hook("pubsub-summary/http://www.w3.org/2005/Atom", function (event)
|
|||
end
|
||||
end
|
||||
return summary;
|
||||
end);
|
||||
end, -1);
|
||||
|
||||
module:hook("iq/host/"..xmlns_pubsub..":pubsub", handle_pubsub_iq);
|
||||
module:hook("iq/host/"..xmlns_pubsub_owner..":pubsub", handle_pubsub_iq);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue