utf8: avoid dequoting IMAP folder names twice

Signed-off-by: Urs Liska <git@ursliska.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Urs Liska 2017-09-26 15:31:52 +02:00 committed by Nicolas Sebrecht
parent dca5f1846d
commit 14d83dbf48

View File

@ -480,8 +480,7 @@ class IMAPRepository(BaseRepository):
flaglist = [x.lower() for x in imaputil.flagsplit(flags)]
if '\\noselect' in flaglist:
continue
foldername = imaputil.dequote(name)
retval.append(self.getfoldertype()(self.imapserver, foldername,
retval.append(self.getfoldertype()(self.imapserver, name,
self))
# Add all folderincludes
if len(self.folderincludes):