Skip to content

Commit

Permalink
Merge pull request #645 from ncstate-delta/fix/calendar_entries
Browse files Browse the repository at this point in the history
Populate calendar with only items that were not deleted
  • Loading branch information
jrchamp authored Mar 6, 2025
2 parents fa9be30 + 9e47262 commit d70bcb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,9 @@ function zoom_calendar_item_update(stdClass $zoom) {
} else if (!empty($zoom->occurrences)) {
foreach ($zoom->occurrences as $occurrence) {
$uuid = $occurrence->occurrence_id;
$newevents[$uuid] = zoom_populate_calender_item($zoom, $occurrence);
if ($occurrence->status !== 'deleted') {
$newevents[$uuid] = zoom_populate_calender_item($zoom, $occurrence);
}
}
}

Expand Down

0 comments on commit d70bcb8

Please sign in to comment.