]> nmode's Git Repositories - signal-cli/commitdiff
Add command to get an attachment (#1080)
authorced-b <cedric@cos.flag.org>
Tue, 1 Nov 2022 21:47:43 +0000 (17:47 -0400)
committerGitHub <noreply@github.com>
Tue, 1 Nov 2022 21:47:43 +0000 (22:47 +0100)
* Add command to get an attachment

* Refactor retrieving of attachments to use StreamDetails

* Refactor AttachmentCommand to GetAttachmentCommand

* Minor improvements to GetAttachmentCommand

* Use JSON serializer to serialize binary data

Serializing the stream is better for memory handling than
loading the whole thing into the file.

* Clean up unneeded class

* Added command to doc

Co-authored-by: cedb <cedb@keylimebox.org>

No differences found