toAttachments

Converts a list of AttachmentMetaData into lightweight Attachments for preview.

The original content URI from each metadata entry is stored under EXTRA_SOURCE_URI in Attachment.extraData. Attachment.upload is always null; files are resolved later via resolveAttachmentFiles at send time.

Return

List of lightweight Attachments.

Parameters

metaData

The metadata to convert.