Page MenuHomePhabricator

[keyserver] Stop returning set of `deviceToken`s in `rescindPushNotifs(...)`
ClosedPublic

Authored by atul on Nov 10 2022, 1:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 13, 6:02 AM
Unknown Object (File)
Sep 1 2024, 11:08 PM
Unknown Object (File)
Sep 1 2024, 11:08 PM
Unknown Object (File)
Sep 1 2024, 11:08 PM
Unknown Object (File)
Sep 1 2024, 11:07 PM
Unknown Object (File)
Sep 1 2024, 2:44 AM
Unknown Object (File)
Aug 22 2024, 8:38 AM
Unknown Object (File)
Aug 13 2024, 5:40 PM
Subscribers

Details

Summary

We were previously using the set of deviceTokens returned by rescindPushNotifs(...) in rescindAndUpdateBadgeCounts to skip updateBadgeCount(...) for devices that had notifications rescinded. See D5606 for context.

Basically, we don't need the set of deviceTokens in rescindAndUpdateBadgeCounts and it isn't used anywhere else so it can be removed.


Depends on D5606

Test Plan

Looked at other usages of rescindPushNotifs(...) and the return value was never used:

2c15a2.png (246×1 px, 77 KB)

2cb525.png (174×930 px, 38 KB)

797a5e.png (728×1 px, 162 KB)

e52dda.png (700×1 px, 167 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul published this revision for review.Nov 10 2022, 1:34 PM
atul edited the test plan for this revision. (Show Details)

Probably should put this in a stack with the other diff on Phabricator, so it's clear to reviewers that it won't break anything

This revision is now accepted and ready to land.Nov 10 2022, 1:44 PM

Probably should put this in a stack with the other diff on Phabricator, so it's clear to reviewers that it won't break anything

Ah yeah good point sorry, just updated summary