[Imapsync] Case sensitive PIPEMESS removal

(cherry picked from commit 33e5ad2b5c)
This commit is contained in:
DerLinkman 2022-05-19 14:41:21 +02:00 committed by Niklas Meyer
parent b68eae16e5
commit 8d9102aa08

View File

@ -337,7 +337,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
$enc1 = $_data['enc1'];
$custom_params = (empty(trim($_data['custom_params']))) ? '' : trim($_data['custom_params']);
// Workaround, fixme
if (strpos($custom_params, 'pipemess')) {
if (stripos($custom_params, 'pipemess')) {
$custom_params = '';
}
if (empty($subfolder2)) {
@ -1746,7 +1746,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
);
continue;
}
if (strpos($custom_params, 'pipemess')) {
if (stripos($custom_params, 'pipemess')) {
$custom_params = '';
}
if (empty($subfolder2)) {