mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 05:05:05 -04:00
Convert the message handler to async/await. (#7884)
This commit is contained in:
parent
a4cf94a3c2
commit
cc9bb3dc3f
10 changed files with 273 additions and 238 deletions
|
@ -64,8 +64,8 @@ class StateStoreTestCase(tests.unittest.TestCase):
|
|||
},
|
||||
)
|
||||
|
||||
event, context = yield self.event_creation_handler.create_new_client_event(
|
||||
builder
|
||||
event, context = yield defer.ensureDeferred(
|
||||
self.event_creation_handler.create_new_client_event(builder)
|
||||
)
|
||||
|
||||
yield self.storage.persistence.persist_event(event, context)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue