forked from extern/egroupware
* Mail/ActiveSync: fix priority issue on retrieval of messages
This commit is contained in:
parent
be9cd16de4
commit
cec90fe064
@ -1147,7 +1147,8 @@ class mail_activesync implements activesync_plugin_write, activesync_plugin_send
|
||||
debugLog(__METHOD__.__LINE__.' gather Header info:'.$headers['SUBJECT'].' from:'.$headers['DATE']);
|
||||
$output->read = $stat["flags"];
|
||||
$output->subject = $this->messages[$id]['subject'];
|
||||
$output->importance = ($this->messages[$id]['priority'] ? $this->messages[$id]['priority']:1) ;
|
||||
$output->importance = $this->messages[$id]['priority'] > 3 ? 0 :
|
||||
($this->messages[$id]['priority'] < 3 ? 2 : 1) ;
|
||||
$output->datereceived = $this->mail->_strtotime($headers['DATE'],'ts',true);
|
||||
$output->displayto = ($headers['TO'] ? $headers['TO']:null); //$stat['FETCHED_HEADER']['to_name']
|
||||
// $output->to = $this->messages[$id]['to_address']; //$stat['FETCHED_HEADER']['to_name']
|
||||
|
Loading…
Reference in New Issue
Block a user