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 d9dd44e + fdbfa02 commit 74eee63Copy full SHA for 74eee63
lib/Notifications/ExAppNotifier.php
@@ -36,6 +36,9 @@ public function getName(): string {
36
}
37
38
public function prepare(INotification $notification, string $languageCode): INotification {
39
+ if (empty($this->service->getExAppsList())) {
40
+ throw new UnknownNotificationException();
41
+ }
42
$exApp = $this->service->getExApp($notification->getApp());
43
if ($exApp === null) {
44
throw new UnknownNotificationException();
0 commit comments