Calendar: Fix some cases where a changed participant status would not remove the event when it should

This commit is contained in:
nathangray 2020-03-12 09:18:30 -06:00
parent 7557153226
commit fc296f3ed1

View File

@ -11,10 +11,10 @@
*/
use EGroupware\Api;
use EGroupware\Api\Framework;
use EGroupware\Api\Egw;
use EGroupware\Api\Acl;
use EGroupware\Api\Egw;
use EGroupware\Api\Etemplate;
use EGroupware\Api\Framework;
/**
* Shared base-class of all calendar UserInterface classes
@ -667,7 +667,12 @@ class calendar_ui
if(!$event || !$filter_match)
{
// Sending null will trigger a removal
$response->generic('data', array('uid' => 'calendar::'.$event_id, 'data' => null));
$uid = 'calendar::' . $event_id;
if ($recurrence_date)
{
$uid .= ':' . $recurrence_date->getTimestamp();
}
$response->generic('data', array('uid' => $uid, 'data' => null));
return false;
}