diff options
author | Erik Johnston <erik@matrix.org> | 2014-12-08 10:16:18 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-12-08 10:16:18 +0000 |
commit | e8323b9e344a557452b17f4e0dea9d95feff747f (patch) | |
tree | 76ccdedd2da63783797f5d4729f442f7faabc620 /synapse/handlers/room.py | |
parent | Fix registration (diff) | |
download | synapse-e8323b9e344a557452b17f4e0dea9d95feff747f.tar.xz |
More bug fixes
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/room.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index f0ffd62b7f..ffcdbcfdf7 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -173,13 +173,14 @@ class RoomCreationHandler(BaseHandler): "sender": creator_id, } - def create(etype, content): + def create(etype, content, **kwargs): e = { "type": etype, "content": content, } e.update(event_keys) + e.update(kwargs) return e @@ -194,7 +195,6 @@ class RoomCreationHandler(BaseHandler): content={ "membership": Membership.JOIN, }, - **event_keys ) power_levels_event = create( |