imapx_write_flags: Fix a typo which flag to skip
authorMilan Crha <mcrha@redhat.com>
Mon, 27 Jan 2014 12:50:37 +0000 (13:50 +0100)
committerMilan Crha <mcrha@redhat.com>
Mon, 27 Jan 2014 12:50:37 +0000 (13:50 +0100)
commitbe3b5c24c25aa363bc171dbd0b1ee724ebf94411
treeaffad063c65445dd29146a2e7be6042ab79edd8a
parent294ec486b3bcb82192844fba07a642a789d19e25
imapx_write_flags: Fix a typo which flag to skip

The code was surely trying to avoid writing CAMEL_IMAPX_MESSAGE_RECENT
flag back to the server, but the actual behaviour was that each flag
had been ignored, if the CAMEL_IMAPX_MESSAGE_RECENT was set.
This could have an effect of copied read message being marked as unread
in the destination IMAPx folder.
camel/providers/imapx/camel-imapx-utils.c