-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(caldav): When message is a reply compare the message sender not the recipient #44893
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested & works
Could you please extend \OCA\DAV\Tests\unit\CalDAV\Schedule\IMipPluginTest
for three tests that cover the three possible paths of \OCA\DAV\CalDAV\Schedule\IMipService::getCurrentAttendee
? 1. Reply, 2. invite, 3. no match.
} | ||
elseif (strcasecmp($attendee->getValue(), $iTipMessage->recipient) === 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | |
elseif (strcasecmp($attendee->getValue(), $iTipMessage->recipient) === 0) { | |
} elseif (strcasecmp($attendee->getValue(), $iTipMessage->recipient) === 0) { |
/backport to stable29 |
/backport to stable28 |
I'm sorry, I mixed up the classes. We want to unit test Move the tests please |
/backport to stable27 |
…he recipient Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com> Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
96d9b4e
to
d7eb509
Compare
Summary
When message is a reply compare the message sender not the recipient.