Color label from filtering not saved for IMAP accounts
When applying a color label to a message on an IMAP account via a mail filter, the message color is set temporarily within the current folder, but not stored permanently. Whenever you update the folder (by retrieving new messages, switching to another folder and then back, after restarting Sylpheed etc.), the color information is lost. This only holds for IMAP folders.
On setting the color label via the context menu, src/summaryview.c:summary_set_colorlabel() is called. Here, two actions are taken:
- MSG_SET_COLORLABEL_VALUE/summary_set_row (temporary color label for current folder)
- imap_msg_list_set_colorlabel_flags (permanently store color label)
On setting the color label via filtering, libsylph/filter.c:filter_action_exec() is called. Here, only one action is taken:
whereas imap_msg_list_set_colorlabel_flags is missing.
This looks like a bug to be. Can you please consider this issue?