# HG changeset patch # User Kim Alvefur # Date 1508210411 -7200 # Node ID 83bab3c8467103e6cf121fe4221aeb4714474f10 # Parent 29ef191c7bf9912068287a3587abf7230c08a081 mod_pep: Remove disco identity and feature from the host (changed in XEP-0163 version 1.2) diff -r 29ef191c7bf9 -r 83bab3c84671 plugins/mod_pep.lua --- a/plugins/mod_pep.lua Tue Oct 17 03:43:57 2017 +0200 +++ b/plugins/mod_pep.lua Tue Oct 17 05:20:11 2017 +0200 @@ -36,9 +36,6 @@ 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