|
|
|
@ -315,6 +315,7 @@ rule determines its behaviour. The following conditions are defined:
|
|
|
|
|
|
|
|
|
|
|
|
``event_match``
|
|
|
|
``event_match``
|
|
|
|
This is a glob pattern match on a field of the event. Parameters:
|
|
|
|
This is a glob pattern match on a field of the event. Parameters:
|
|
|
|
|
|
|
|
|
|
|
|
* ``key``: The dot-separated field of the event to match, e.g. ``content.body``
|
|
|
|
* ``key``: The dot-separated field of the event to match, e.g. ``content.body``
|
|
|
|
* ``pattern``: The glob-style pattern to match against. Patterns with no
|
|
|
|
* ``pattern``: The glob-style pattern to match against. Patterns with no
|
|
|
|
special glob characters should be treated as having asterisks
|
|
|
|
special glob characters should be treated as having asterisks
|
|
|
|
@ -334,6 +335,7 @@ rule determines its behaviour. The following conditions are defined:
|
|
|
|
|
|
|
|
|
|
|
|
``room_member_count``
|
|
|
|
``room_member_count``
|
|
|
|
This matches the current number of members in the room. Parameters:
|
|
|
|
This matches the current number of members in the room. Parameters:
|
|
|
|
|
|
|
|
|
|
|
|
* ``is``: A decimal integer optionally prefixed by one of, ``==``, ``<``,
|
|
|
|
* ``is``: A decimal integer optionally prefixed by one of, ``==``, ``<``,
|
|
|
|
``>``, ``>=`` or ``<=``. A prefix of ``<`` matches rooms where the member
|
|
|
|
``>``, ``>=`` or ``<=``. A prefix of ``<`` matches rooms where the member
|
|
|
|
count is strictly less than the given number and so forth. If no prefix is
|
|
|
|
count is strictly less than the given number and so forth. If no prefix is
|
|
|
|
|