# HG changeset patch # User IRON # Date 1343231353 -10800 # Node ID 7a0b17118987c9414080c15e3f4c25e89bd5a6e7 # Parent 58c9519dc461a80cc8dc45bb15ec3060046536ee mod_pep: Allow configurable service discovery identity diff -r 58c9519dc461 -r 7a0b17118987 plugins/mod_pep.lua --- a/plugins/mod_pep.lua Tue Jul 24 10:56:47 2012 +0100 +++ b/plugins/mod_pep.lua Wed Jul 25 18:49:13 2012 +0300 @@ -32,7 +32,7 @@ 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)