Skip to content

Commit

Permalink
Comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Sep 18, 2014
1 parent 752ce61 commit a8eec94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions framework/Core/lib/Horde/Core/ActiveSync/Driver.php
Expand Up @@ -1774,6 +1774,9 @@ public function changeMessage($folderid, $id, Horde_ActiveSync_Message_Base $mes
$stat['flags'] = array_merge($stat['flags'], array('flagged' => $message->flag->flagstatus));
}
if ($message->propertyExists('categories')) {
// We *try* to make sure the category is added as a custom
// IMAP flag. This might fail in some edge cases, like e.g.
// with non-ascii characters.
$this->_connector->mail_ensureMessageFlags($message->categories);
$this->_imap->categoriesToFlags($folderid, $message->categories, $id);
$stat['categories'] = $message->categories;
Expand Down

0 comments on commit a8eec94

Please sign in to comment.