ZP-828 Change default sensitivity to Normal, following Zarafa backend....

ZP-828 Change default sensitivity to Normal, following Zarafa backend. Released under the Affero GNU General Public License (AGPL) version 3.
parent 0a0af064
......@@ -288,11 +288,15 @@ function parse_meeting_calendar($part, &$output, $is_sent_folder) {
$output->meetingrequest->sensitivity = "3";
break;
default:
ZLog::Write(LOGLEVEL_DEBUG, sprintf("BackendIMAP->parse_meeting_calendar() - No sensitivity class. Using 2"));
$output->meetingrequest->sensitivity = "2";
ZLog::Write(LOGLEVEL_DEBUG, sprintf("BackendIMAP->parse_meeting_calendar() - Unknown VEVENT/CLASS '%s'. Using 0", $props[0]->Value()));
$output->meetingrequest->sensitivity = "0";
break;
}
}
else {
ZLog::Write(LOGLEVEL_DEBUG, "BackendIMAP->parse_meeting_calendar() - No sensitivity class. Using 0");
$output->meetingrequest->sensitivity = "0";
}
// Get $tz from first timezone
$props = $ical->GetPropertiesByPath("VTIMEZONE/TZID");
......
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