MOBILE-4270 forum: Fix push notifications
parent
1f27a8f211
commit
848ac04daf
|
@ -46,7 +46,7 @@ export class AddonModForumPushClickHandlerService implements CorePushNotificatio
|
||||||
return CoreUtils.isTrueOrOne(notification.notif)
|
return CoreUtils.isTrueOrOne(notification.notif)
|
||||||
&& notification.moodlecomponent == 'mod_forum'
|
&& notification.moodlecomponent == 'mod_forum'
|
||||||
&& notification.name == 'posts'
|
&& notification.name == 'posts'
|
||||||
&& !!(notification.contexturl || notification.customdata?.postid);
|
&& !!(notification.contexturl || notification.customdata?.discussionid);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue