Add mobile push device filter to non-null push uuid #1588

Closed
opened 2026-04-06 02:03:25 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @quexten on 6/13/2023

Partially fixes #3577.

Over time, old devices accumulate in the SQL device table. Even when the device push uuid is NULL, a push request is sent for them when mobile push is active. For my server, this lead to ~100 requests to the Bitwarden push servers without a single active mobile push client, and a request time of ~15 seconds.

This requests adds a filter to prevent mobile push notifications from being sent to clients who did not even register for mobile push.

*Originally created by @quexten on 6/13/2023* Partially fixes #3577. Over time, old devices accumulate in the SQL device table. Even when the device push uuid is NULL, a push request is sent for them when mobile push is active. For my server, this lead to ~100 requests to the Bitwarden push servers without a single active mobile push client, and a request time of ~15 seconds. This requests adds a filter to prevent mobile push notifications from being sent to clients who did not even register for mobile push.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1588