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.
1 parent d4b9fea commit 832f8edCopy full SHA for 832f8ed
packages/messaging/src/helpers/externalizePayload.ts
@@ -77,8 +77,11 @@ function propagateFcmOptions(
77
payload: MessagePayload,
78
messagePayloadInternal: MessagePayloadInternal
79
): void {
80
- // fcmOptions.link value is written into notification.click_action. see more in b/232072111
81
- if (!messagePayloadInternal.fcmOptions && !messagePayloadInternal.notification?.click_action) {
+ // fcmOptions.link value is written into notification.click_action. see more in b/232072111
+ if (
82
+ !messagePayloadInternal.fcmOptions &&
83
+ !messagePayloadInternal.notification?.click_action
84
+ ) {
85
return;
86
}
87
0 commit comments