Skip to content

Commit

Permalink
fixup! Fix duplicate event email notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
st3iny committed Nov 4, 2022
1 parent 11114c5 commit 14f28c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/dav/lib/CalDAV/Reminder/INotificationProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface INotificationProvider {
*
* @param VEvent $vevent
* @param string $calendarDisplayName
* @param array $principalEmailAddresses All email addresses associated to the principal owning the calendar object
* @param string[] $principalEmailAddresses All email addresses associated to the principal owning the calendar object
* @param IUser[] $users
* @return void
*/
Expand Down
6 changes: 3 additions & 3 deletions apps/dav/tests/unit/Connector/Sabre/PrincipalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -986,12 +986,12 @@ public function testGetEmailAddressesOfPrincipal(): void {
],
'{urn:ietf:params:xml:ns:caldav}calendar-user-address-set' => [
'mailto:bernard@example.com',
'mailto:bernard.desruisseaux@example.com'
'mailto:bernard.desruisseaux@example.com',
],
'{http://calendarserver.org/ns/}email-address-set' => [
'mailto:duplicate@example.com',
'mailto:user@some.org'
]
'mailto:user@some.org',
],
];

$expected = [
Expand Down

0 comments on commit 14f28c3

Please sign in to comment.