diff options
author | Erik Johnston <erik@matrix.org> | 2017-05-02 11:36:11 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-05-02 14:23:26 +0100 |
commit | 3e5a62ecd8839fbfb56aa33b92127822a053ef6d (patch) | |
tree | a886c22875f7c794f81c73a085a16179d5e7ed24 /tests/storage/event_injector.py | |
parent | Merge pull request #2080 from matrix-org/erikj/filter_speed (diff) | |
download | synapse-3e5a62ecd8839fbfb56aa33b92127822a053ef6d.tar.xz |
Add more granular event send metrics
Diffstat (limited to 'tests/storage/event_injector.py')
-rw-r--r-- | tests/storage/event_injector.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/storage/event_injector.py b/tests/storage/event_injector.py index 38556da9a7..024ac15069 100644 --- a/tests/storage/event_injector.py +++ b/tests/storage/event_injector.py @@ -27,10 +27,10 @@ class EventInjector: self.event_builder_factory = hs.get_event_builder_factory() @defer.inlineCallbacks - def create_room(self, room): + def create_room(self, room, user): builder = self.event_builder_factory.new({ "type": EventTypes.Create, - "sender": "", + "sender": user.to_string(), "room_id": room.to_string(), "content": {}, }) |