aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-11-01 23:58:41 +0100
committerKim Alvefur <zash@zash.se>2018-11-01 23:58:41 +0100
commit2a701f2d8b5b024bccbe10ebfcb0e4f1f3ffddf2 (patch)
tree36f1734138246b186d203c166883d065f2963744 /plugins/mod_pep.lua
parent9fd674431232094979eac5bc33634d00e8bcf816 (diff)
downloadprosody-2a701f2d8b5b024bccbe10ebfcb0e4f1f3ffddf2.tar.gz
prosody-2a701f2d8b5b024bccbe10ebfcb0e4f1f3ffddf2.zip
mod_pep: Remove incorrect features advertised on the bare host
Diffstat (limited to 'plugins/mod_pep.lua')
-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 1d8c55bf..cb775fb5 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -250,9 +250,6 @@ end
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