mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-12 10:30:05 -04:00
Change DomainSpecificString so that it doesn't use a HomeServer object
This commit is contained in:
parent
ec2b5d8c28
commit
9d53228158
12 changed files with 63 additions and 66 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue