aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorIRON <iron.udjin@gmail.com>2012-07-25 18:49:13 +0300
committerIRON <iron.udjin@gmail.com>2012-07-25 18:49:13 +0300
commit372049e1141baf204af3d719ad38ff5bcd71a53d (patch)
treeaf953f4d09e9d558c1b8f1df8d3fa8ba8665f01c /plugins
parent9306fa497983088359c6f1f6b8c4658bf0ec2b99 (diff)
downloadprosody-372049e1141baf204af3d719ad38ff5bcd71a53d.tar.gz
prosody-372049e1141baf204af3d719ad38ff5bcd71a53d.zip
mod_pep: Allow configurable service discovery identity
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_pep.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index bbdd5f19..5a6196f2 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -32,7 +32,7 @@ module.restore = function(state)
hash_map = state.hash_map or {};
end
-module:add_identity("pubsub", "pep", "Prosody");
+module:add_identity("pubsub", "pep", "pep", module:get_option_string("name", "Prosody"));
module:add_feature("http://jabber.org/protocol/pubsub#publish");
local function subscription_presence(user_bare, recipient)