From 80ac8896d8e9dcea3f007b2df6645743d3855272 Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 15 May 2020 20:47:33 -0400 Subject: [PATCH] Pass a filesize to AsyncClient.upload() Fixes #37 --- src/backend/matrix_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/matrix_client.py b/src/backend/matrix_client.py index 43965085..2d9e1367 100644 --- a/src/backend/matrix_client.py +++ b/src/backend/matrix_client.py @@ -1021,6 +1021,7 @@ class MatrixClient(nio.AsyncClient): filename, encrypt, monitor, + filesize, ) return UploadReturn(response.content_uri, mime, decryption_dict)