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
commit08d7e43d5f9220a5923b2b926809c28605e89f1a (patch)
treeaf953f4d09e9d558c1b8f1df8d3fa8ba8665f01c /plugins
parent735e98a6299ff4d5bb4792694162f2757d391610 (diff)
downloadprosody-08d7e43d5f9220a5923b2b926809c28605e89f1a.tar.gz
prosody-08d7e43d5f9220a5923b2b926809c28605e89f1a.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)