mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 13:46:02 -04:00
Remove pointless create() method
It just calls the constructor, so we may as well kill it rather than having random codepaths.
This commit is contained in:
parent
b4a6b7f720
commit
631d7b87b5
6 changed files with 8 additions and 12 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue