IMAP: update cache when manipulating message flags explicitly
authorJan Kundrát <jkt@flaska.net>
Tue, 10 Dec 2013 18:11:51 +0000 (19:11 +0100)
committerJan Kundrát <jkt@flaska.net>
Tue, 10 Dec 2013 18:14:17 +0000 (19:14 +0100)
commitf3a486693c4aecc2187b920b50418f8f38cc3efb
tree3a3a8abc2885dbef4c6e2399dab6847215219303
parent2dd19de6a0304020a25c32092de902e0e471269a
IMAP: update cache when manipulating message flags explicitly

Previously, we would not always update the cache when the change was done via
the .SILENT operation. This is now fixed.

Thanks to paalsteek for reporting this.

REVIEW: 114392
CMakeLists.txt
src/Imap/Tasks/UpdateFlagsOfAllMessagesTask.cpp
src/Imap/Tasks/UpdateFlagsTask.cpp
tests/Imap/test_Imap_CopyAndFlagOperations.cpp [new file with mode: 0644]
tests/Imap/test_Imap_CopyAndFlagOperations.h [new file with mode: 0644]