diff options
author | IRON <iron.udjin@gmail.com> | 2012-07-25 18:49:13 +0300 |
---|---|---|
committer | IRON <iron.udjin@gmail.com> | 2012-07-25 18:49:13 +0300 |
commit | 08d7e43d5f9220a5923b2b926809c28605e89f1a (patch) | |
tree | af953f4d09e9d558c1b8f1df8d3fa8ba8665f01c /plugins/mod_pep.lua | |
parent | 735e98a6299ff4d5bb4792694162f2757d391610 (diff) | |
download | prosody-08d7e43d5f9220a5923b2b926809c28605e89f1a.tar.gz prosody-08d7e43d5f9220a5923b2b926809c28605e89f1a.zip |
mod_pep: Allow configurable service discovery identity
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r-- | plugins/mod_pep.lua | 2 |
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) |