Merge pull request #243 from matrix-org/markjh/wildcards

Filters don't support wildcards for senders or room ids
pull/977/head
Mark Haines 9 years ago
commit e413f05c87

@ -5,7 +5,7 @@ properties:
not_senders: not_senders:
description: A list of sender IDs to exclude. If this list is absent then no senders description: A list of sender IDs to exclude. If this list is absent then no senders
are excluded. A matching sender will be excluded even if it is listed in the are excluded. A matching sender will be excluded even if it is listed in the
'senders' filter. A '*' can be used as a wildcard to match any sequence of characters. 'senders' filter.
items: items:
type: string type: string
type: array type: array
@ -19,8 +19,7 @@ properties:
type: array type: array
senders: senders:
description: A list of senders IDs to include. If this list is absent then all description: A list of senders IDs to include. If this list is absent then all
senders are included. A '*' can be used as a wildcard to match any sequence senders are included.
of characters.
items: items:
type: string type: string
type: array type: array

@ -4,13 +4,13 @@ properties:
not_rooms: not_rooms:
description: A list of room IDs to exclude. If this list is absent then no rooms description: A list of room IDs to exclude. If this list is absent then no rooms
are excluded. A matching room will be excluded even if it is listed in the 'rooms' are excluded. A matching room will be excluded even if it is listed in the 'rooms'
filter. A '*' can be used as a wildcard to match any sequence of characters. filter.
items: items:
type: string type: string
type: array type: array
rooms: rooms:
description: A list of room IDs to include. If this list is absent then all rooms description: A list of room IDs to include. If this list is absent then all rooms
are included. A '*' can be used as a wildcard to match any sequence of characters. are included.
items: items:
type: string type: string
type: array type: array

Loading…
Cancel
Save