mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
* 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