-
Notifications
You must be signed in to change notification settings - Fork 507
fix: Calendar invitation emails for Events created from Talk #15575
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
|
/backport to stable31 |
54b329d to
70d69c7
Compare
Signed-off-by: Anna Larch <[email protected]>
4580bd4 to
6a11249
Compare
Antreesy
left a comment
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
| return new DataResponse(['error' => 'calendar'], Http::STATUS_BAD_REQUEST); | ||
| } | ||
|
|
||
| $this->authTokenProvider->invalidateToken($token); |
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.
this needs to be in a finally block or also inside the catch?
Should we add a sanity background job to clear those up?
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.
Good point, I think a finally will work.
| } catch (\InvalidArgumentException|CalendarException $e) { | ||
| $client->put($calendarUri, $options); | ||
| } catch (\Exception $e) { | ||
| $this->logger->debug('Failed to get calendar to schedule a meeting', ['exception' => $e]); |
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.
| $this->logger->debug('Failed to get calendar to schedule a meeting', ['exception' => $e]); | |
| $this->logger->error('Failed to get calendar to schedule a meeting', ['exception' => $e]); |
|
Fixes #14698
π οΈ API Checklist
π Checklist
docs/has been updated or is not required