aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-10-17 05:20:11 +0200
committerKim Alvefur <zash@zash.se>2017-10-17 05:20:11 +0200
commitd0bb8df2d567b895323be28b2c1ac122ea188279 (patch)
tree2c8e9021e9c1adf6031f27dd4d926b537a0e4beb /plugins/mod_pep.lua
parent10973228002aef47a2679bc20f56b5f32295fbaf (diff)
downloadprosody-d0bb8df2d567b895323be28b2c1ac122ea188279.tar.gz
prosody-d0bb8df2d567b895323be28b2c1ac122ea188279.zip
mod_pep: Remove disco identity and feature from the host (changed in XEP-0163 version 1.2)
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r--plugins/mod_pep.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index 1025be37..b8eba29c 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -36,9 +36,6 @@ module.restore = function(state)
hash_map = state.hash_map or {};
end
-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)
local recipient_bare = jid_bare(recipient);
if (recipient_bare == user_bare) then return true end