docker-offlineimap/offlineimap/folder
Abdo Roig-Maranges fc4c7549d6 Do not ignore gmail labels if header appears multiple times
There should be just one header storing gmail labels, but due to a bug,
multiple X-Keywords (or equivalent) headers may be found on the local
messages.

Now we, when extracting the labels from a message, we read all label
headers, instead of just the first one.

This has the consequence that some old labels stored locally in a second
X-Keywords (or third...) header, which effectively was rendered
invisible to offlineimap until now, may pop back up again and be pushed
to gmail. No labels will be removed by the changes in this commit,
though.

Signed-off-by: Abdo Roig-Maranges <abdo.roig@gmail.com>
2014-11-20 14:15:59 +01:00
..
__init__.py Use "from . import" for relative imports 2012-02-06 17:41:43 +01:00
Base.py Do not ignore gmail labels if header appears multiple times 2014-11-20 14:15:59 +01:00
Gmail.py Do not ignore gmail labels if header appears multiple times 2014-11-20 14:15:59 +01:00
GmailMaildir.py Do not ignore gmail labels if header appears multiple times 2014-11-20 14:15:59 +01:00
IMAP.py Properly manipulate contents of messagelist for folder 2014-08-03 16:47:26 +04:00
LocalStatus.py Properly manipulate contents of messagelist for folder 2014-08-03 16:47:26 +04:00
LocalStatusSQLite.py Properly manipulate contents of messagelist for folder 2014-08-03 16:47:26 +04:00
Maildir.py Properly manipulate contents of messagelist for folder 2014-08-03 16:47:26 +04:00
UIDMaps.py Refactoring: make functions to be private if we can 2014-04-30 19:35:56 +04:00