Skip to content

Commit

Permalink
Merge pull request #13941 from nextcloud/backport/13940/stable30
Browse files Browse the repository at this point in the history
[stable30] fix(summary): Don't add share button to failed summary notification
  • Loading branch information
nickvergessen authored Dec 5, 2024
2 parents d6985a4 + c3ec38d commit 72a0b88
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 72a0b88

Please sign in to comment.