From c9349b302aecdda5ba833010b9009369a75ef7d3 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Mon, 21 Dec 2015 17:17:28 +0000 Subject: [PATCH] Filters don't support wildcards for senders or room ids --- api/client-server/definitions/event_filter.yaml | 5 ++--- api/client-server/definitions/room_event_filter.yaml | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/api/client-server/definitions/event_filter.yaml b/api/client-server/definitions/event_filter.yaml index 23a2f11c..27cce87d 100644 --- a/api/client-server/definitions/event_filter.yaml +++ b/api/client-server/definitions/event_filter.yaml @@ -5,7 +5,7 @@ properties: not_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 - 'senders' filter. A '*' can be used as a wildcard to match any sequence of characters. + 'senders' filter. items: type: string type: array @@ -19,8 +19,7 @@ properties: type: array senders: 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 - of characters. + senders are included. items: type: string type: array diff --git a/api/client-server/definitions/room_event_filter.yaml b/api/client-server/definitions/room_event_filter.yaml index 4826693d..628e2ca8 100644 --- a/api/client-server/definitions/room_event_filter.yaml +++ b/api/client-server/definitions/room_event_filter.yaml @@ -4,13 +4,13 @@ properties: not_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' - filter. A '*' can be used as a wildcard to match any sequence of characters. + filter. items: type: string type: array 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: type: string type: array