mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 17:36:27 +00:00
upload: Rename attachment_vips_source, as it's not just for vips_source.
This commit is contained in:
committed by
Tim Abbott
parent
e37ee13577
commit
085d137871
@@ -273,7 +273,7 @@ class S3UploadBackend(ZulipUploadBackend):
|
||||
filehandle.write(chunk)
|
||||
|
||||
@override
|
||||
def attachment_vips_source(self, path_id: str) -> StreamingSourceWithSize:
|
||||
def attachment_source(self, path_id: str) -> StreamingSourceWithSize:
|
||||
metadata = self.uploads_bucket.Object(path_id).get()
|
||||
|
||||
def s3_read(streamingbody: StreamingBody, size: int) -> bytes:
|
||||
|
||||
Reference in New Issue
Block a user