Imap4flags: fixed bug in the handling of the internal variable.
Previously the final value of internal variable was for every store action that didn't specify a :flags argument explicitly. This results in out-of order assignment/removal of flags, e.g. also the flags assigned keep actions that were executed before the addflag/setflag command were modified.
Showing
- src/lib-sieve/plugins/imapflags/ext-imapflags-common.c 6 additions, 1 deletionsrc/lib-sieve/plugins/imapflags/ext-imapflags-common.c
- src/lib-sieve/plugins/imapflags/tag-flags.c 112 additions, 48 deletionssrc/lib-sieve/plugins/imapflags/tag-flags.c
- src/lib-sieve/sieve-code.c 19 additions, 5 deletionssrc/lib-sieve/sieve-code.c
- src/lib-sieve/sieve-code.h 11 additions, 0 deletionssrc/lib-sieve/sieve-code.h
- src/lib-sieve/sieve-validator.c 11 additions, 11 deletionssrc/lib-sieve/sieve-validator.c
Loading
Please register or sign in to comment