HomePhabricator
Diffusion Comm 4b2eabc69d4a

[web] Don't crash if electron.fetchDeviceToken not defined in…

Description

[web] Don't crash if electron.fetchDeviceToken not defined in useCreateDesktopPushSubscription

Summary: Context in ENG-6000. This diff fixes a regression introduced in D9970.

Test Plan: I deployed this fix to my keyserver in production and it resolved the issue described on Linear.

Reviewers: marcin, michal

Reviewed By: marcin

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D10129

Details

Provenance
ashoatAuthored on Nov 30 2023, 8:15 PM
Reviewer
marcin
Differential Revision
D10129: [web] Don't crash if electron.fetchDeviceToken not defined in useCreateDesktopPushSubscription
Parents
rCOMMea2bcfa64137: [scripts] Fix terraform lint
Branches
Unknown
Tags
Unknown