summary refs log tree commit diff
path: root/synapse/events/builder.py
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2017-10-23 11:06:57 +0100
committerGitHub <noreply@github.com>2017-10-23 11:06:57 +0100
commitbd0d84bf92ff98f859d6f5a9bf68b37978db89c0 (patch)
treed0b93dc743a38764ea5d240889fbc72804786486 /synapse/events/builder.py
parentMerge pull request #2559 from matrix-org/erikj/group_id_validation (diff)
parentRemove pointless create() method (diff)
downloadsynapse-bd0d84bf92ff98f859d6f5a9bf68b37978db89c0.tar.xz
Merge pull request #2560 from matrix-org/rav/kill_pointless_method
Remove pointless create() method
Diffstat (limited to 'synapse/events/builder.py')
-rw-r--r--synapse/events/builder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/events/builder.py b/synapse/events/builder.py
index 365fd96bd2..13fbba68c0 100644
--- a/synapse/events/builder.py
+++ b/synapse/events/builder.py
@@ -55,7 +55,7 @@ class EventBuilderFactory(object):
 
         local_part = str(int(self.clock.time())) + i + random_string(5)
 
-        e_id = EventID.create(local_part, self.hostname)
+        e_id = EventID(local_part, self.hostname)
 
         return e_id.to_string()