Merge pull request #7270 from nextcloud/backport/7255/stable32
[stable32] 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 {
|
||||
$l = $this->l10nFactory->get('deck', $languageCode);
|
||||
if ($notification->getApp() !== 'deck') {
|
||||
if ($notification->getApp() !== 'deck' || $notification->getObjectType() === 'activity_notification') {
|
||||
throw new UnknownNotificationException();
|
||||
}
|
||||
$notification->setIcon($this->url->getAbsoluteURL($this->url->imagePath('deck', 'deck-dark.svg')));
|
||||
|
||||
@@ -1 +1 @@
|
||||
81373
|
||||
82773
|
||||
|
||||
Reference in New Issue
Block a user