Skip to content
Snippets Groups Projects
Commit c0586259 authored by Mark Haines's avatar Mark Haines
Browse files

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

Conflicts:
	synapse/api/filtering.py
parents cdd04f70 e525b46f
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,11 @@ class Filtering(object):
def _check_definition_room_lists(self, definition):
"""Check that "rooms" and "not_rooms" are lists of room ids if they
are present
Args:
definition(dict): The filter definition
Raises:
SynapseError: If there was a problem with this definition.
"""
# check rooms are valid room IDs
room_id_keys = ["rooms", "not_rooms"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment