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
commita5ff2ac2167ea760298e2c35ae0b7d5151906543 (patch)
tree2c8e9021e9c1adf6031f27dd4d926b537a0e4beb /plugins/mod_pep.lua
parent520b9c99abe09968caf3076a46bb6de1b616e41f (diff)
downloadprosody-a5ff2ac2167ea760298e2c35ae0b7d5151906543.tar.gz
prosody-a5ff2ac2167ea760298e2c35ae0b7d5151906543.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