alecpl
2010-10-28 77327e252a116030349a0d59643b73311566e996
- Add SORT=DISPLAY support (RFC 5957)


2 files modified
6 ■■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/include/rcube_imap_generic.php 5 ●●●●● patch | view | raw | blame | history
CHANGELOG
@@ -53,6 +53,7 @@
- Don't list subscribed but non-existent folders (#1486225)
- Fix handling of URLs with tilde (~) or semicolon (;) character (#1487087, #1487088)
- Plugin API: added 'contact_form' hook
- Add SORT=DISPLAY support (RFC 5957)
RELEASE 0.4.2
-------------
program/include/rcube_imap_generic.php
@@ -1000,6 +1000,11 @@
            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));