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 | 372049e1141baf204af3d719ad38ff5bcd71a53d (patch) | |
tree | af953f4d09e9d558c1b8f1df8d3fa8ba8665f01c /plugins/mod_pep.lua | |
parent | 9306fa497983088359c6f1f6b8c4658bf0ec2b99 (diff) | |
download | prosody-372049e1141baf204af3d719ad38ff5bcd71a53d.tar.gz prosody-372049e1141baf204af3d719ad38ff5bcd71a53d.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) |