changeset 2410:898e70e85185

mod_firewall/README: Document SUBSCRIBED
author Kim Alvefur <zash@zash.se>
date Fri, 02 Dec 2016 20:17:10 +0100
parents b426f1d46938
children e327b06b9a1b
files mod_firewall/README.markdown
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_firewall/README.markdown	Sat Dec 03 15:01:15 2016 +0100
+++ b/mod_firewall/README.markdown	Fri Dec 02 20:17:10 2016 +0100
@@ -234,6 +234,15 @@
 
     IN_ROSTER_GROUP: Friends
 
+#### SUBSCRIBED
+
+Tests whether the recipient is subscribed to the sender, ie will receive
+presence updates from them.
+
+Note that this *does* work, regardless of direction and which chain is
+used, since both the sender and the recipient will have mirrored roster
+entries.
+
 ### Groups
 
 Using Prosody's mod\_groups it is possible to define groups of users on the server. You can