Merge branch 'develop' into daniel/roomcleanupincremental

Conflicts:
	synapse/rest/client/v1/room.py
This commit is contained in:
Daniel Wagner-Hall 2016-02-17 15:53:59 +00:00
commit 7e90fb6a57
4 changed files with 92 additions and 85 deletions

View file

@ -400,7 +400,7 @@ def _filter_ruleset_with_path(ruleset, path):
def _priority_class_from_spec(spec):
if spec['template'] not in PRIORITY_CLASS_MAP.keys():
raise InvalidRuleException("Unknown template: %s" % (spec['kind']))
raise InvalidRuleException("Unknown template: %s" % (spec['template']))
pc = PRIORITY_CLASS_MAP[spec['template']]
if spec['scope'] == 'device':

View file

@ -165,7 +165,7 @@ class RoomStateEventRestServlet(ClientV1RestServlet):
else:
yield msg_handler.send_nonmember_event(event, context)
defer.returnValue((200, {}))
defer.returnValue((200, {"event_id": event.event_id}))
# TODO: Needs unit testing for generic events + feedback