ProtonMail / go-proton-api

Proton API library used by Go-based clients and tools
MIT License
122 stars 16 forks source link

fix(GODT-3036): Keep contentID order for attachment in FakeServer. #115

Closed rlejeune74 closed 11 months ago

rlejeune74 commented 11 months ago

Inline attachment order is preserved using the attachment contentID. Message attachment IDs list should then be computed with contentID properly sorted to ensure inline attachments are rendered in the right order when we get the message from the server.

LBeernaertProton commented 11 months ago

Other than the minor comment, could you add a commit description about why this is import/necessary?