Fix bug where email tags got lost on move (#5434)

With disabled messages_cache and disabled kolab_notes plugin
Message-Id header is not FETCHed from the IMAP server.
So, in such a case member URI in the tag object will contain
message-id=mid:XXX, which causes problem when the message
is moved to another folder, because it cannot be found by this invalid message-id.
This commit is contained in:
Aleksander Machniak 2016-05-31 12:52:15 +02:00
parent b49501437e
commit 52e0cbbde4

View file

@ -87,7 +87,7 @@ class libkolab extends rcube_plugin
*/
function storage_init($p)
{
$p['fetch_headers'] = trim($p['fetch_headers'] .' X-KOLAB-TYPE X-KOLAB-MIME-VERSION');
$p['fetch_headers'] = trim($p['fetch_headers'] .' X-KOLAB-TYPE X-KOLAB-MIME-VERSION MESSAGE-ID');
return $p;
}