Commit d909adc6 authored by Sebastian Kummer's avatar Sebastian Kummer

ZO-21 ignore cases of header.

parent 020405ba
...@@ -433,7 +433,7 @@ class BackendZarafa implements IBackend, ISearchProvider { ...@@ -433,7 +433,7 @@ class BackendZarafa implements IBackend, ISearchProvider {
// Acacia ZO-6: grep for the OL header and set flags accordingly. // Acacia ZO-6: grep for the OL header and set flags accordingly.
// The header has the values verb/message-source-key/folder-source-key // The header has the values verb/message-source-key/folder-source-key
if (preg_match("/X-Push-Flags: (\d{3})\/([\da-f]+)\/([\da-f]+)/", $sm->mime, $ol_flags)) { if (preg_match("/X-Push-Flags: (\d{3})\/([\da-f]+)\/([\da-f]+)/i", $sm->mime, $ol_flags)) {
// "reply" and "reply-all" are handled as "reply" // "reply" and "reply-all" are handled as "reply"
if ($ol_flags[1] == 102 || $ol_flags[1] == 103) { if ($ol_flags[1] == 102 || $ol_flags[1] == 103) {
$sm->replyflag = true; $sm->replyflag = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment