Page MenuHomePhabricator

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

Authored by ashoat on Nov 30 2023, 8:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 1, 8:00 PM
Unknown Object (File)
Oct 30 2024, 5:16 PM
Unknown Object (File)
Oct 12 2024, 3:22 AM
Unknown Object (File)
Oct 2 2024, 4:38 AM
Unknown Object (File)
Oct 2 2024, 4:38 AM
Unknown Object (File)
Oct 2 2024, 4:38 AM
Unknown Object (File)
Oct 2 2024, 4:38 AM
Unknown Object (File)
Sep 21 2024, 4:07 PM
Subscribers

Details

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.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat published this revision for review.Nov 30 2023, 8:23 PM
ashoat retitled this revision from [web] Don't crash if electron not defined in useCreateDesktopPushSubscription to [web] Don't crash if electron.fetchDeviceToken not defined in useCreateDesktopPushSubscription.Nov 30 2023, 8:26 PM
This revision is now accepted and ready to land.Dec 1 2023, 1:01 AM