mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-10 09:48:35 -05:00
Merge branch 'develop' into pushers
This commit is contained in:
commit
7642d95d5e
44 changed files with 6670 additions and 255 deletions
|
|
@ -181,7 +181,7 @@ class ContentRepoResource(resource.Resource):
|
|||
|
||||
fname = yield self.map_request_to_name(request)
|
||||
|
||||
# TODO I have a suspcious feeling this is just going to block
|
||||
# TODO I have a suspicious feeling this is just going to block
|
||||
with open(fname, "wb") as f:
|
||||
f.write(request.content.read())
|
||||
|
||||
|
|
@ -190,7 +190,7 @@ class ContentRepoResource(resource.Resource):
|
|||
# FIXME: we can't assume what the repo's public mounted path is
|
||||
# ...plus self-signed SSL won't work to remote clients anyway
|
||||
# ...and we can't assume that it's SSL anyway, as we might want to
|
||||
# server it via the non-SSL listener...
|
||||
# serve it via the non-SSL listener...
|
||||
url = "%s/_matrix/content/%s" % (
|
||||
self.external_addr, file_name
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue