mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 05:34:56 -04:00
Add reactor to SynapseRequest
and fix up types. (#10868)
This commit is contained in:
parent
fa74536384
commit
50022cff96
24 changed files with 123 additions and 82 deletions
|
@ -383,7 +383,7 @@ class RestHelper:
|
|||
path = "/_matrix/media/r0/upload?filename=%s" % (filename,)
|
||||
channel = make_request(
|
||||
self.hs.get_reactor(),
|
||||
FakeSite(resource),
|
||||
FakeSite(resource, self.hs.get_reactor()),
|
||||
"POST",
|
||||
path,
|
||||
content=image_data,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue