From 372049e1141baf204af3d719ad38ff5bcd71a53d Mon Sep 17 00:00:00 2001 From: IRON Date: Wed, 25 Jul 2012 18:49:13 +0300 Subject: mod_pep: Allow configurable service discovery identity --- plugins/mod_pep.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_pep.lua') 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) -- cgit v1.2.3 From 6da5a6f1c0955b5f3031ab075d83393563e92446 Mon Sep 17 00:00:00 2001 From: IRON Date: Wed, 25 Jul 2012 19:04:42 +0300 Subject: mod_pep: Allow configurable service discovery identity (Fix) --- plugins/mod_pep.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_pep.lua') diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua index 5a6196f2..d6fe9a81 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", "pep", module:get_option_string("name", "Prosody")); +module:add_identity("pubsub", "pep", module:get_option_string("name", "Prosody")); module:add_feature("http://jabber.org/protocol/pubsub#publish"); local function subscription_presence(user_bare, recipient) -- cgit v1.2.3 From 9114e88ee0cf86ca0ffe500e089389e54bb730ec Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 26 Jul 2012 04:33:17 +0200 Subject: mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table. --- plugins/mod_pep.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/mod_pep.lua') diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua index d6fe9a81..c2261e5f 100644 --- a/plugins/mod_pep.lua +++ b/plugins/mod_pep.lua @@ -17,6 +17,7 @@ local pairs, ipairs = pairs, ipairs; local next = next; local type = type; local calculate_hash = require "util.caps".calculate_hash; +local core_post_stanza = prosody.core_post_stanza; local NULL = {}; local data = {}; -- cgit v1.2.3