* mu4e: when moving messages, always reset the N flag

(since N (new) messages cannot have any other flags, you would loose
  e.g. the T flag when moving to trash; now, we remove the N flag, and the T
  flag remains)
This commit is contained in:
djcb
2012-06-23 10:11:18 +03:00
parent 59433c91cb
commit e792c61f32
2 changed files with 10 additions and 8 deletions

View File

@ -707,7 +707,8 @@ mu_maildir_get_flags_from_path (const char *path)
* /home/user/Maildir/foo/bar/new/abc and flags == MU_FLAG_REPLIED
* => /home/user/Maildir/foo/bar/cur
*
* so only difference is whether MuFlags matches MU_FLAG_NEW is set or not
* so the difference is whether MuFlags matches MU_FLAG_NEW is set or
* not; and in the latter case, no other flags are allowed.
*
*/
static gchar*