diff options
author | alecpl <alec@alec.pl> | 2010-10-28 07:34:27 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-10-28 07:34:27 +0000 |
commit | 77327e252a116030349a0d59643b73311566e996 (patch) | |
tree | ef17b3327479c554bc5b9db70447ce939f95d285 /program/include/rcube_imap_generic.php | |
parent | a79417d4efda43e99fdc9210c8662890676bebd7 (diff) |
- Add SORT=DISPLAY support (RFC 5957)
Diffstat (limited to 'program/include/rcube_imap_generic.php')
-rw-r--r-- | program/include/rcube_imap_generic.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php index 2171e5d5d..7917d7889 100644 --- a/program/include/rcube_imap_generic.php +++ b/program/include/rcube_imap_generic.php @@ -1000,6 +1000,11 @@ class rcube_imap_generic return false; } + // RFC 5957: SORT=DISPLAY + if (($field == 'FROM' || $field == 'TO') && $this->getCapability('SORT=DISPLAY')) { + $field = 'DISPLAY' . $field; + } + // message IDs if (is_array($add)) $add = $this->compressMessageSet(join(',', $add)); |