diff --git a/src/python/matrix_client.py b/src/python/matrix_client.py index d37b5bc9..31be6522 100644 --- a/src/python/matrix_client.py +++ b/src/python/matrix_client.py @@ -317,7 +317,6 @@ class MatrixClient(nio.AsyncClient): content["msgtype"] = "m.file" content["filename"] = path.name - upload_item.status = UploadStatus.Success del self.models[Upload, room_id][upload_item.uuid] uuid = str(uuid4()) diff --git a/src/python/models/items.py b/src/python/models/items.py index 58545170..70144b0a 100644 --- a/src/python/models/items.py +++ b/src/python/models/items.py @@ -110,7 +110,6 @@ class UploadStatus(AutoStrEnum): CreatingThumbnail = auto() EncryptingThumbnail = auto() UploadingThumbnail = auto() - Success = auto() Failure = auto() # TODO