Parses an imeta tag into a MediaAttachment, or returns null if the
tag is not a valid encrypted-media-v1 attachment.
A null result means the media reference is invalid and MUST be dropped (the
containing message should be dropped too for a host-safety failure). The
internal decodeMediaImetaTag rejects wrong/legacy/missing versions,
blurhash, duplicated single-occurrence fields, malformed hashes or nonce,
missing required fields, absent or malformed locators, and unsafe
blossom-v1 hosts. Locator fetchability against group policy is checked
separately by selectFetchableLocators.
Parses an
imetatag into a MediaAttachment, or returnsnullif the tag is not a validencrypted-media-v1attachment.A
nullresult means the media reference is invalid and MUST be dropped (the containing message should be dropped too for a host-safety failure). The internaldecodeMediaImetaTagrejects wrong/legacy/missing versions,blurhash, duplicated single-occurrence fields, malformed hashes or nonce, missing required fields, absent or malformed locators, and unsafeblossom-v1hosts. Locator fetchability against group policy is checked separately by selectFetchableLocators.