symmetryinvestments / imap-d

D library for IMAP (JMAP is a work-in-progress but the basics work)
14 stars 10 forks source link

Revert "Added SIL example script and fix a couple of bugs." #38

Closed Laeeth closed 3 years ago

Laeeth commented 3 years ago

Reverts symmetryinvestments/imap-d#37

I reverted this because I think the reverted MR changes behaviour in a way that isn't helpful. The reason to stick UID before the FETCH etc is that way it uses the UID that won't change. Without the UID then it uses a message number that can change when you aren't expecting it - legacy behaviour maintained for reasons of backward compatibility.

In the event that this was what we wanted, a significant change like this should be a MR of it's own explaining the reason for and consequence of the changes. But if my memory serves me correctly this is not what we would want.

So please could you stick the UIDs back and resubmit the PR.

Thanks.