message/document: allow updating flags
Some flags (such as 'personal') can only be set just before storing; so allow for update the flags.
This commit is contained in:
@ -198,6 +198,14 @@ Message::set_maildir(const std::string& maildir)
|
||||
return Ok();
|
||||
}
|
||||
|
||||
|
||||
|
||||
void
|
||||
Message::set_flags(Flags flags)
|
||||
{
|
||||
priv_->doc.add(flags);
|
||||
}
|
||||
|
||||
bool
|
||||
Message::load_mime_message(bool reload) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user