comparison mod_firewall/README.markdown @ 2410:898e70e85185

mod_firewall/README: Document SUBSCRIBED
author Kim Alvefur <zash@zash.se>
date Fri, 02 Dec 2016 20:17:10 +0100
parents 28fbe960adcf
children d637bc0ac604
comparison
equal deleted inserted replaced
2409:b426f1d46938 2410:898e70e85185
231 #### IN_ROSTER_GROUP 231 #### IN_ROSTER_GROUP
232 232
233 Tests whether the sender is in the recipient's roster, and in the named group. 233 Tests whether the sender is in the recipient's roster, and in the named group.
234 234
235 IN_ROSTER_GROUP: Friends 235 IN_ROSTER_GROUP: Friends
236
237 #### SUBSCRIBED
238
239 Tests whether the recipient is subscribed to the sender, ie will receive
240 presence updates from them.
241
242 Note that this *does* work, regardless of direction and which chain is
243 used, since both the sender and the recipient will have mirrored roster
244 entries.
236 245
237 ### Groups 246 ### Groups
238 247
239 Using Prosody's mod\_groups it is possible to define groups of users on the server. You can 248 Using Prosody's mod\_groups it is possible to define groups of users on the server. You can
240 match based on these groups in firewall rules. 249 match based on these groups in firewall rules.