IMAP folder: expose the message keywords

The keywords are in the flag string, so imaputil can just strip the
usual \Flags.

Signed-off-by: Igor Almeida <igor.contato@gmail.com>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Igor Almeida
2015-11-20 16:09:10 -03:00
committed by Nicolas Sebrecht
parent 4e2de8f58a
commit 73a3767d11
3 changed files with 20 additions and 1 deletions

View File

@ -420,6 +420,11 @@ class BaseFolder(object):
raise NotImplementedError
def getmessagekeywords(self, uid):
"""Returns the keywords for the specified message."""
raise NotImplementedError
def savemessageflags(self, uid, flags):
"""Sets the specified message's flags to the given set.