Diff

plugins/mod_pep.lua @ 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
parent 8125:5f0c642a41a1
child 8330:8d5c2eef1654
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