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
F3513360: D5607.diff
Sat, Dec 21, 11:52 PM
Unknown Object (File)
Fri, Nov 29, 11:06 PM
Unknown Object (File)
Nov 21 2024, 5:17 AM
Unknown Object (File)
Nov 21 2024, 5:17 AM
Unknown Object (File)
Nov 21 2024, 5:17 AM
Unknown Object (File)
Nov 21 2024, 5:17 AM
Unknown Object (File)
Nov 3 2024, 11:50 PM
Unknown Object (File)
Nov 3 2024, 11:50 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
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

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