Diff

util/pubsub.lua @ 9161:da154ced7de4

util.pubsub: For open nodes, default affiliation is "member" This allows entities without an explicit affiliation to retrieve items, which is specified by the XEP. Table 6: "Node Access Models" states that for 'open' nodes, "any entity may retrieve items from the node". See also discussion at: https://mail.jabber.org/pipermail/standards/2018-August/035320.html
author Matthew Wild <mwild1@gmail.com>
date Thu, 09 Aug 2018 20:27:04 +0100
parent 9160:e13a1a0b0107
child 9172:822e9c5ff4a4
line wrap: on
line diff
--- a/util/pubsub.lua	Wed Aug 08 23:20:07 2018 +0100
+++ b/util/pubsub.lua	Thu Aug 09 20:27:04 2018 +0100
@@ -216,7 +216,7 @@
 		or self.node_defaults.access_model;
 
 	if access_model == "open" then
-		return "none";
+		return "member";
 	elseif access_model == "whitelist" then
 		return "outcast";
 	end