diff options
author | Erik Johnston <erik@matrix.org> | 2017-10-12 15:20:59 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-10-12 15:20:59 +0100 |
commit | bf4fb1fb400daad23702bc0b3231ec069d68e87e (patch) | |
tree | d5ec655d0abb781bfe968c3d1ba218f3b4922253 /synapse/rest/media/v1/upload_resource.py | |
parent | log when we get an exception handling replication updates (diff) | |
download | synapse-bf4fb1fb400daad23702bc0b3231ec069d68e87e.tar.xz |
Basic implementation of backup media store
Diffstat (limited to 'synapse/rest/media/v1/upload_resource.py')
-rw-r--r-- | synapse/rest/media/v1/upload_resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/upload_resource.py b/synapse/rest/media/v1/upload_resource.py index 4ab33f73bf..f6f498cdc5 100644 --- a/synapse/rest/media/v1/upload_resource.py +++ b/synapse/rest/media/v1/upload_resource.py @@ -93,7 +93,7 @@ class UploadResource(Resource): # TODO(markjh): parse content-dispostion content_uri = yield self.media_repo.create_content( - media_type, upload_name, request.content.read(), + media_type, upload_name, request.content, content_length, requester.user ) |