-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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): disable both iTip and iMip messages #49503
fix(CalDAV): disable both iTip and iMip messages #49503
Conversation
dbb9365
to
a8a3b24
Compare
a8a3b24
to
d23f95e
Compare
if ($vCal->VEVENT?->{'X-NC-DISABLE-SCHEDULING'}?->getValue() === 'true') { | ||
$vCal->VEVENT->remove('X-NC-DISABLE-SCHEDULING'); | ||
$modified = true; | ||
return; | ||
} |
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.
The one-off property is weird to be honest. Let's try to move this into a custom header that's set by the client that pushes the event and doesn't want itip/imip to happen. That feels a bit more idiomatic to the dav world.
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.
Done
Works as expected. I wonder why we are using a custom header instead of the Footnotes |
I agree, we could reuse this header property but according to the RFC it serves a different purpose...
So I don't know if using it for custom functionality on event creation is a good idea. |
Agree that it serves a different purpose and may lead to confusion. A custom header for this off-standard behavior sounds better IMO. |
/backport to stable30 |
/backport to stable29 |
@SebastianKrupinski please rebase, squash the fixup commits and hope for a friendly cypress ;) |
Signed-off-by: SebastianKrupinski <[email protected]>
fc48fc1
to
04cb122
Compare
/backport to stable28 |
Lol. C'mon you know cypress is never friendly with anyone. |
Summary
Adjusted logic to disable both iTip and iMip messages
Checklist