mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Merge remote-tracking branch 'origin/develop' into markjh/guest_access
Conflicts: synapse/api/filtering.py
This commit is contained in:
commit
c058625959
@ -70,6 +70,11 @@ class Filtering(object):
|
|||||||
def _check_definition_room_lists(self, definition):
|
def _check_definition_room_lists(self, definition):
|
||||||
"""Check that "rooms" and "not_rooms" are lists of room ids if they
|
"""Check that "rooms" and "not_rooms" are lists of room ids if they
|
||||||
are present
|
are present
|
||||||
|
|
||||||
|
Args:
|
||||||
|
definition(dict): The filter definition
|
||||||
|
Raises:
|
||||||
|
SynapseError: If there was a problem with this definition.
|
||||||
"""
|
"""
|
||||||
# check rooms are valid room IDs
|
# check rooms are valid room IDs
|
||||||
room_id_keys = ["rooms", "not_rooms"]
|
room_id_keys = ["rooms", "not_rooms"]
|
||||||
|
Loading…
Reference in New Issue
Block a user