Merge pull request #7255 from nextcloud/fix-missing-push-notifications
fix: missing push notifications
This commit is contained in:
@@ -77,7 +77,7 @@ class Notifier implements INotifier {
|
|||||||
*/
|
*/
|
||||||
public function prepare(INotification $notification, string $languageCode): INotification {
|
public function prepare(INotification $notification, string $languageCode): INotification {
|
||||||
$l = $this->l10nFactory->get('deck', $languageCode);
|
$l = $this->l10nFactory->get('deck', $languageCode);
|
||||||
if ($notification->getApp() !== 'deck') {
|
if ($notification->getApp() !== 'deck' || $notification->getObjectType() === 'activity_notification') {
|
||||||
throw new UnknownNotificationException();
|
throw new UnknownNotificationException();
|
||||||
}
|
}
|
||||||
$notification->setIcon($this->url->getAbsoluteURL($this->url->imagePath('deck', 'deck-dark.svg')));
|
$notification->setIcon($this->url->getAbsoluteURL($this->url->imagePath('deck', 'deck-dark.svg')));
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
81373
|
82773
|
||||||
|
|||||||
Reference in New Issue
Block a user