Skip to content

Commit

Permalink
Merge pull request #441 from dantefromhell/patch-2
Browse files Browse the repository at this point in the history
Send event update notifcation to invitees
  • Loading branch information
luke- authored Jan 16, 2024
2 parents b6b20de + 17834de commit 9d4f25c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Changelog
Unreleased
------------------------
Fix #437: Hide the profile calendar if the module is not available for users
Fix #441: Send event update notifcation to invitees

1.5.7 (January 12, 2024)
------------------------
Expand Down
1 change: 1 addition & 0 deletions models/participation/CalendarEntryParticipation.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ public function getParticipantEntries()
public function sendUpdateNotification($notificationClass = EventUpdated::class)
{
$participants = $this->findParticipants([
CalendarEntryParticipant::PARTICIPATION_STATE_INVITED,
CalendarEntryParticipant::PARTICIPATION_STATE_MAYBE,
CalendarEntryParticipant::PARTICIPATION_STATE_ACCEPTED])->all();

Expand Down

0 comments on commit 9d4f25c

Please sign in to comment.