aboutsummaryrefslogtreecommitdiff
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
commita7122c55648e71d8c7c117f5f2a06fd61c258d3a (patch)
tree14238491a5a1a05cdc0674a0eb9e30b61a2f0efb
parentb816ec8b4704dbee04f73b70cc9ec1e674802216 (diff)
downloadprosody-im-server-a7122c55648e71d8c7c117f5f2a06fd61c258d3a.zip
prosody-im-server-a7122c55648e71d8c7c117f5f2a06fd61c258d3a.tar
mod_pep: Remove disco identity and feature from the host (changed in XEP-0163 version 1.2)
-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