Bug 654480 - [imapx] Mark as Junk is not reliable
authorMatthew Barnes <mbarnes@redhat.com>
Sun, 24 Jul 2011 16:34:42 +0000 (11:34 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Sun, 24 Jul 2011 16:34:42 +0000 (11:34 -0500)
commit9538392df91ea9c46c1598feab01460951c5176e
tree3771b84068df21a3abd30f51a611dde19800027c
parentc2ab9a49817b9cf7fd057e535f0ca06557b7a384
Bug 654480 - [imapx] Mark as Junk is not reliable

When comparing server-side message flags to local flags, disregard
non-permanent flags that appear to have been cleared on the server.

This solves the problem of IMAP servers not storing junk-related flags
permanently, then when we synchronize message flags with the server, our
local junk-related flags (which -are- stored permanently) get clobbered.
camel/providers/imapx/camel-imapx-server.c
camel/providers/imapx/camel-imapx-utils.c
camel/providers/imapx/camel-imapx-utils.h