diff mod_firewall/conditions.lib.lua @ 6110:9db1529c06c2

Merge upstream
author tmolitor <thilo@eightysoft.de>
date Sun, 05 Jan 2025 17:50:02 +0100
parents cc665f343690
children b15601203d0d
line wrap: on
line diff
--- a/mod_firewall/conditions.lib.lua	Wed Nov 20 05:07:11 2024 +0100
+++ b/mod_firewall/conditions.lib.lua	Sun Jan 05 17:50:02 2025 +0100
@@ -123,7 +123,7 @@
 end
 
 function condition_handlers.SUBSCRIBED()
-	return "(bare_to == bare_from or to_node and rostermanager.is_contact_subscribed(to_node, to_host, bare_from))",
+	return "(bare_to == bare_from or to_node and rostermanager.is_user_subscribed(to_node, to_host, bare_from))",
 	       { "rostermanager", "split_to", "bare_to", "bare_from" };
 end