-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
fix(imip): dont compare events for the reply message #51131
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
Conversation
@@ -185,7 +185,8 @@ public function schedule(Message $iTipMessage) { | |||
switch (strtolower($iTipMessage->method)) { | |||
case self::METHOD_REPLY: | |||
$method = self::METHOD_REPLY; | |||
$data = $this->imipService->buildBodyData($vEvent, $oldVevent); | |||
$organizerEvent = $this->imipService->getOrganizerVEvent($vEvent->uid, $iTipMessage->recipient); |
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.
Hey, you can't just pull the event by the recipient, This will fail, for external organizers
@SebastianKrupinski would it make sense to keep this even that it only works if the organiser is a local user? |
I don't think having different code paths for internal and external attendees is a good idea, just makes it too complex, the only thing I would keep is the separate method for the reply message, as the reply does not need event comparison, and all the extra information that is normally generate |
2e9dfc5
to
d949cca
Compare
d949cca
to
cafd8ad
Compare
Signed-off-by: Hamza Mahjoubi <[email protected]>
cafd8ad
to
ed1bfe7
Compare
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 and works.
/backport to stable30 |
/backport to stable31 |
The backport to # Switch to the target branch and update it
git checkout stable31
git pull origin stable31
# Create the new backport branch
git checkout -b backport/51131/stable31
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick ed1bfe70
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/51131/stable31 Error: Failed to push branch backport/51131/stable31: remote: Invalid username or password. Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
/backport to stable31 |
Summary
TODO
Checklist