mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-08-04 02:04:12 -04:00
Merge branch 'develop' into daniel/roomcleanupincremental
Conflicts: synapse/rest/client/v1/room.py
This commit is contained in:
commit
7e90fb6a57
4 changed files with 92 additions and 85 deletions
|
@ -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':
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue