diff options
author | Erik Johnston <erik@matrix.org> | 2019-01-25 17:19:31 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-01-29 11:13:00 +0000 |
commit | be47cfa9c97b4acfd884440f1953ed000225eb37 (patch) | |
tree | 3e274c1b99d45ba4f1eba89d4553060b301f83d1 /synapse/server.py | |
parent | Make add_hashes_and_signatures operate on dicts (diff) | |
download | synapse-be47cfa9c97b4acfd884440f1953ed000225eb37.tar.xz |
Refactor event building into EventBuilder
This is so that everything is done in one place, making it easier to change the event format based on room version
Diffstat (limited to 'synapse/server.py')
-rw-r--r-- | synapse/server.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/synapse/server.py b/synapse/server.py index c8914302cf..6c52101616 100644 --- a/synapse/server.py +++ b/synapse/server.py @@ -355,10 +355,7 @@ class HomeServer(object): return Keyring(self) def build_event_builder_factory(self): - return EventBuilderFactory( - clock=self.get_clock(), - hostname=self.hostname, - ) + return EventBuilderFactory(self) def build_filtering(self): return Filtering(self) |