summary refs log tree commit diff
path: root/synapse/api/events
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-12-02 10:42:28 +0000
committerErik Johnston <erik@matrix.org>2014-12-02 10:42:28 +0000
commit9d53228158bd94093eea4407b93b564ee065930b (patch)
tree8a61caf650cd28843b1edf965e0064e6d68e5894 /synapse/api/events
parentStore full JSON of events in db (diff)
downloadsynapse-9d53228158bd94093eea4407b93b564ee065930b.tar.xz
Change DomainSpecificString so that it doesn't use a HomeServer object
Diffstat (limited to 'synapse/api/events')
-rw-r--r--synapse/api/events/factory.py2
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()