util.pubsub: Explicitly add all capabilities to the 'outcast' affiliation for completeness
authorKim Alvefur <zash@zash.se>
Fri, 31 Aug 2018 17:49:14 +0200
changeset 9236 885dd6845e62
parent 9235 65c83bfcf2ee
child 9237 d00e8ec7ece2
util.pubsub: Explicitly add all capabilities to the 'outcast' affiliation for completeness
util/pubsub.lua
--- a/util/pubsub.lua	Wed Aug 22 13:27:36 2018 +0200
+++ b/util/pubsub.lua	Fri Aug 31 17:49:14 2018 +0200
@@ -11,10 +11,26 @@
 	normalize_jid = function (jid) return jid; end;
 	capabilities = {
 		outcast = {
+			create = false;
+			publish = false;
+			retract = false;
+			get_nodes = false;
+
+			subscribe = false;
+			unsubscribe = false;
 			get_subscription = true;
 			get_subscriptions = true;
+			get_items = false;
+
+			subscribe_other = false;
+			unsubscribe_other = false;
+			get_subscription_other = false;
+			get_subscriptions_other = false;
+
 			be_subscribed = false;
 			be_unsubscribed = true;
+
+			set_affiliation = false;
 		};
 		none = {
 			create = false;