From 08d7e43d5f9220a5923b2b926809c28605e89f1a 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 e88f73a9dbc3f73c2bd3ceb76ce67176a003b15b 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 790e0bb9b426413f10e5efcd0dfd680e9bf20de2 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