Changeset

8329:83bab3c84671

mod_pep: Remove disco identity and feature from the host (changed in XEP-0163 version 1.2)
author Kim Alvefur <zash@zash.se>
date Tue, 17 Oct 2017 05:20:11 +0200
parents 8328:29ef191c7bf9
children 8330:8d5c2eef1654
files plugins/mod_pep.lua
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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