From 848ac04daff5c69f0ce96e4067ea4b65dbf3e0f2 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Thu, 25 May 2023 08:35:02 +0200 Subject: [PATCH] MOBILE-4270 forum: Fix push notifications --- src/addons/mod/forum/services/handlers/push-click.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addons/mod/forum/services/handlers/push-click.ts b/src/addons/mod/forum/services/handlers/push-click.ts index b0889d412..d57275e23 100644 --- a/src/addons/mod/forum/services/handlers/push-click.ts +++ b/src/addons/mod/forum/services/handlers/push-click.ts @@ -46,7 +46,7 @@ export class AddonModForumPushClickHandlerService implements CorePushNotificatio return CoreUtils.isTrueOrOne(notification.notif) && notification.moodlecomponent == 'mod_forum' && notification.name == 'posts' - && !!(notification.contexturl || notification.customdata?.postid); + && !!(notification.contexturl || notification.customdata?.discussionid); } /**