Merge remote-tracking branch 'origin/develop' into markjh/guest_access

Conflicts:
	synapse/api/filtering.py
This commit is contained in:
Mark Haines 2015-12-22 13:58:18 +00:00
commit c058625959

View File

@ -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"]