We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c590c25 + 161003f commit 094efdaCopy full SHA for 094efda
lib/Notification/Notifier.php
@@ -77,7 +77,7 @@ public function getName(): string {
77
*/
78
public function prepare(INotification $notification, string $languageCode): INotification {
79
$l = $this->l10nFactory->get('deck', $languageCode);
80
- if ($notification->getApp() !== 'deck') {
+ if ($notification->getApp() !== 'deck' || $notification->getObjectType() === 'activity_notification') {
81
throw new UnknownNotificationException();
82
}
83
$notification->setIcon($this->url->getAbsoluteURL($this->url->imagePath('deck', 'deck-dark.svg')));
tests/integration/base-query-count.txt
@@ -1 +1 @@
1
-81373
+82773
0 commit comments