mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 17:46:08 +03:00
5b70f240cf
This makes it so that we rely on the `device_id` to delete pushers on logout, instead of relying on the `access_token_id`. This ensures we're not removing pushers on token refresh, and prepares for a world without access token IDs (also known as the OIDC). This actually runs the `set_device_id_for_pushers` background update, which was forgotten in #13831. Note that for backwards compatibility it still deletes pushers based on the `access_token` until the background update finishes.
1 line
98 B
Text
1 line
98 B
Text
Make the pushers rely on the `device_id` instead of the `access_token_id` for various operations.
|