diff options
author | Erik Johnston <erik@matrix.org> | 2014-12-02 10:42:28 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-12-02 10:42:28 +0000 |
commit | 9d53228158bd94093eea4407b93b564ee065930b (patch) | |
tree | 8a61caf650cd28843b1edf965e0064e6d68e5894 /synapse/api | |
parent | Store full JSON of events in db (diff) | |
download | synapse-9d53228158bd94093eea4407b93b564ee065930b.tar.xz |
Change DomainSpecificString so that it doesn't use a HomeServer object
Diffstat (limited to 'synapse/api')
-rw-r--r-- | synapse/api/events/factory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/events/factory.py b/synapse/api/events/factory.py index a1ec708a81..1b84e2b445 100644 --- a/synapse/api/events/factory.py +++ b/synapse/api/events/factory.py @@ -58,7 +58,7 @@ class EventFactory(object): local_part = str(int(self.clock.time())) + i + random_string(5) - e_id = EventID.create_local(local_part, self.hs) + e_id = EventID.create(local_part, self.hs.hostname) return e_id.to_string() |