]> granicus.if.org Git - mutt/commit
Improve imap fetch handler to accept an initial UID. (closes #3969)
authorKevin McCarthy <kevin@8t8.us>
Thu, 14 Sep 2017 19:43:32 +0000 (12:43 -0700)
committerKevin McCarthy <kevin@8t8.us>
Thu, 14 Sep 2017 19:43:32 +0000 (12:43 -0700)
commit963c8ff0dfeb5900ec6ba8a0122ac5d7923b912a
treea1d547c80f1f419896d8ca60fb18e2e3f7b83894
parent19a17aaeff13103dc0981ffe100c16993f42293d
Improve imap fetch handler to accept an initial UID. (closes #3969)

Gmail sends flag updates with a UID before the FLAGS.  The handler was
very simple, and so ignored the flag update in that case.

Pull the code from msg_parse_fetch(), paring down to just UID and
FLAGS.  This will handle arbitrary order data items.
imap/command.c
imap/message.c