mod_pep: Remove incorrect features advertised on the bare host
authorKim Alvefur <zash@zash.se>
Thu, 01 Nov 2018 23:58:41 +0100
changeset 9611 2a42b72468ca
parent 9610 cb684a0ded2a
child 9614 ca000dcd4c06
mod_pep: Remove incorrect features advertised on the bare host
plugins/mod_pep.lua
--- a/plugins/mod_pep.lua	Wed Oct 31 14:34:35 2018 +0000
+++ b/plugins/mod_pep.lua	Thu Nov 01 23:58:41 2018 +0100
@@ -250,9 +250,6 @@
 module:hook("iq/bare/"..xmlns_pubsub..":pubsub", handle_pubsub_iq);
 module:hook("iq/bare/"..xmlns_pubsub_owner..":pubsub", handle_pubsub_iq);
 
-module:add_identity("pubsub", "pep", module:get_option_string("name", "Prosody"));
-module:add_feature("http://jabber.org/protocol/pubsub#publish");
-
 local function get_caps_hash_from_presence(stanza, current)
 	local t = stanza.attr.type;
 	if not t then