29760fe6b1
The composer read the same image off disk twice: once in attachImagePath for the chip thumbnail (previewUrl — the FULL file as a base64 data URL), and again inside uploadComposerAttachment at submit for the upload bytes. readImageForRemoteAttach now accepts the attachment's previewUrl and reuses its bytes when it is a base64 data URL, skipping the second disk read + IPC round-trip. Anything else (e.g. a gateway media URL) falls through to the disk read unchanged. Flagged in #86302's renderer bench as the one real renderer-side inefficiency on the attach path.