ProtonMail / go-proton-api

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

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

Closed rlejeune74 closed 1 year ago

rlejeune74 commented 1 year 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 1 year ago

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