From: ced-b Date: Thu, 24 Nov 2022 16:29:45 +0000 (-0500) Subject: Fix handling of attachments in JSON RPC (#1109) X-Git-Tag: v0.11.6~4 X-Git-Url: https://git.nmode.ca/signal-cli/commitdiff_plain/35def4445d13011f4feb9f6422546b88ce32bda0?ds=inline;hp=35def4445d13011f4feb9f6422546b88ce32bda0 Fix handling of attachments in JSON RPC (#1109) * Fix handling of attachments in JSON RPC It turns out that using a custom serializer on an input stream did not work well. For one the stream seems to be getting closed before the JSON gets written. But also the method for writing it was throwing an UnsupportedOperationException further down in Jackson. The above simplifies the matter by simply outputting the Base64 string first and then setting it on the model. * Add missing files to attachment fix Co-authored-by: cedb ---