Skip to content

Commit

Permalink
fix(summary): Don't add share button to failed summary notification
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Dec 5, 2024
1 parent c3a54b4 commit 8b0cf33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Notification/Notifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ protected function parseStoredRecording(
],
]);

if ($notification->getSubject() !== 'transcript_failed') {
if ($notification->getSubject() !== 'transcript_failed' && $notification->getSubject() !== 'summary_failed') {
$notification->addParsedAction($shareAction);
$notification->addParsedAction($dismissAction);
}
Expand Down

0 comments on commit 8b0cf33

Please sign in to comment.