diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-01-28 17:29:30 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-01-28 17:29:30 +0000 |
commit | 9c61556504924a063e7739ba80122c8753aed50c (patch) | |
tree | a483e292dfe602f30be1f9f17266a1bd0f88552d /synapse/rest/media/v1/upload_resource.py | |
parent | Fix Formatting (diff) | |
parent | Merge pull request #36 from matrix-org/device_id_from_access_token (diff) | |
download | synapse-9c61556504924a063e7739ba80122c8753aed50c.tar.xz |
Merge branch 'develop' into client_v2_sync
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 b1718a630b..b939a30e19 100644 --- a/synapse/rest/media/v1/upload_resource.py +++ b/synapse/rest/media/v1/upload_resource.py @@ -42,7 +42,7 @@ class UploadResource(BaseMediaResource): @defer.inlineCallbacks def _async_render_POST(self, request): try: - auth_user = yield self.auth.get_user_by_req(request) + auth_user, client = yield self.auth.get_user_by_req(request) # TODO: The checks here are a bit late. The content will have # already been uploaded to a tmp file at this point content_length = request.getHeader("Content-Length") |