Pass a filesize to AsyncClient.upload()

Fixes #37
This commit is contained in:
miruka 2020-05-15 20:47:33 -04:00
parent 80f6672fc9
commit 80ac8896d8

View File

@ -1021,6 +1021,7 @@ class MatrixClient(nio.AsyncClient):
filename,
encrypt,
monitor,
filesize,
)
return UploadReturn(response.content_uri, mime, decryption_dict)