Automatically clean up push endpoints #805

Open
opened 2025-04-26 19:30:15 +00:00 by Jade · 0 comments
Owner

Currently, push notification endpoints are completely unlinked to sessions. This means they don't ever get cleaned up, and it's common for old accounts to build up a large amount of 'dead' endpoints that result in warnings/errors in the server log.
Currently, the only way to clean these up is to use one of the legacy element mobile apps and manually delete push endpoints.

Two things that could be done here:

  • Start linking push endpoints to sessions, to allow automatic deletion when a session is deleted
  • Start tracking push endpoint errors, add admin commands to delete erroring or all push endpoints, and figure out a way to expose this to non-admins (HTML UI?)
Currently, push notification endpoints are completely unlinked to sessions. This means they don't ever get cleaned up, and it's common for old accounts to build up a large amount of 'dead' endpoints that result in warnings/errors in the server log. Currently, the only way to clean these up is to use one of the legacy element mobile apps and manually delete push endpoints. Two things that could be done here: - [ ] Start linking push endpoints to sessions, to allow automatic deletion when a session is deleted - [ ] Start tracking push endpoint errors, add admin commands to delete erroring or all push endpoints, and figure out a way to expose this to non-admins (HTML UI?)
Jade added the
Enhancement
Matrix/Client
labels 2025-04-26 19:30:15 +00:00
nex added this to the 0.5.0 milestone 2025-04-30 15:28:10 +00:00
Jade added the
Database
label 2025-04-30 16:34:40 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: continuwuation/continuwuity#805
No description provided.