Diff

util/pubsub.lua @ 13486:fdd1438d9ef7

mod_pep: Implement 'roster' (group) access_model Allows e.g. restricting your vcard4 to only family or similar. Notes: This does not include roster groups in the configuration form, so the client will have to get them from the actual roster.
author Kim Alvefur <zash@zash.se>
date Sun, 03 Dec 2023 23:19:27 +0100
parent 12975:d10957394a3c
child 13535:88cab98aa28c
line wrap: on
line diff
--- a/util/pubsub.lua	Fri Apr 26 10:37:20 2024 +0100
+++ b/util/pubsub.lua	Sun Dec 03 23:19:27 2023 +0100
@@ -263,7 +263,7 @@
 	if self.config.access_models then
 		local check = self.config.access_models[access_model];
 		if check then
-			local aff = check(actor);
+			local aff = check(actor, node_obj);
 			if aff then
 				return aff;
 			end