Fix code comment on flag stripping
Fix code comment that we preserve custom dovecot flags. We discard them. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
parent
679977e5d3
commit
d549cbdac9
@ -295,9 +295,9 @@ class MaildirFolder(BaseFolder):
|
||||
dir_prefix = 'cur' if 'S' in flags else 'new'
|
||||
|
||||
if flags != self.messagelist[uid]['flags']:
|
||||
# Flags have actually changed, construct new filename
|
||||
# Strip off existing infostring (preserving small letter flags that
|
||||
# dovecot uses)
|
||||
# Flags have actually changed, construct new filename Strip
|
||||
# off existing infostring (possibly discarding small letter
|
||||
# flags that dovecot uses TODO)
|
||||
infomatch = self.re_flagmatch.search(filename)
|
||||
if infomatch:
|
||||
filename = filename[:-len(infomatch.group())] #strip off
|
||||
|
Loading…
Reference in New Issue
Block a user