aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_pep.lua4
-rw-r--r--plugins/mod_pubsub/mod_pubsub.lua4
2 files changed, 8 insertions, 0 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index 1d81c82f..4036870f 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -144,6 +144,10 @@ function get_pep_service(username)
end
service = pubsub.new({
capabilities = {
+ restricted = {
+ be_subscribed = false;
+ be_unsubscribed = true;
+ };
none = {
create = false;
publish = false;
diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua
index 25b5192d..792eebbc 100644
--- a/plugins/mod_pubsub/mod_pubsub.lua
+++ b/plugins/mod_pubsub/mod_pubsub.lua
@@ -173,6 +173,10 @@ function module.load()
set_service(pubsub.new({
capabilities = {
+ restricted = {
+ be_subscribed = false;
+ be_unsubscribed = true;
+ };
none = {
create = false;
publish = false;