Software / code / prosody
Changeset
5002:7a0b17118987
mod_pep: Allow configurable service discovery identity
| author | IRON <iron.udjin@gmail.com> |
|---|---|
| date | Wed, 25 Jul 2012 18:49:13 +0300 |
| parents | 5000:58c9519dc461 |
| children | 5003:a70eeed3f502 |
| files | plugins/mod_pep.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)