HomePhabricator
Diffusion Comm 2960f788547e

[Tunnelbroker] invalidate bad Web Push tokens

Description

[Tunnelbroker] invalidate bad Web Push tokens

Summary:
ENG-8498.

Based on keyserver error codes.
Here is library mapping of status to errors used in this diff.

Depends on D12911

Test Plan: Manually malform device token for web device in DDB (url in JSON), try sending notif to this device and verify that flag was flipped and the message was sent to the device (both online and offline device).

Reviewers: bartek, marcin

Reviewed By: bartek

Subscribers: ashoat, tomek

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

Details

Provenance
kamilAuthored on Jul 30 2024, 6:05 AM
Reviewer
bartek
Differential Revision
D12946: [Tunnelbroker] invalidate bad Web Push tokens
Parents
rCOMM136027e65421: [Tunnelbroker] validate device platform before sending notif
Branches
Unknown
Tags
Unknown