Revert "* Calendar - fix event owner and chair were always getting update notifications, regardless of preference"

This reverts commit 94782bee06.
This commit is contained in:
Ralf Becker 2019-10-23 16:37:46 +02:00
parent 2392301412
commit 3946d084ec

View File

@ -655,7 +655,7 @@ class calendar_boupdate extends calendar_bo
}
}
case 'add_cancel':
if ($msg_is_response && ($old_event['owner'] == $userid || $role == 'CHAIR') &&
if ($msg_is_response && ($old_event['owner'] == $userid || $role == 'CHAIR') ||
$msg_type == MSG_DELETED || $msg_type == MSG_ADDED || $msg_type == MSG_DISINVITE)
{
++$want_update;