Diff

plugins/mod_pep.lua @ 9139:24a1e7a9d463

mod_pubsub, mod_pep: The "restricted" affiliation should be allowed to be unsubscribed but nothing else Can't revoke their subscriptions on change of access model otherwise
author Kim Alvefur <zash@zash.se>
date Mon, 06 Aug 2018 18:33:33 +0200
parent 9133:2c1d68b54c91
child 9140:415a6d26709e
line wrap: on
line diff
--- a/plugins/mod_pep.lua	Mon Aug 06 17:04:11 2018 +0200
+++ b/plugins/mod_pep.lua	Mon Aug 06 18:33:33 2018 +0200
@@ -144,6 +144,10 @@
 	end
 	service = pubsub.new({
 		capabilities = {
+			restricted = {
+				be_subscribed = false;
+				be_unsubscribed = true;
+			};
 			none = {
 				create = false;
 				publish = false;