Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

to-device messages that have been sent to appservices aren't deleted #11423

Open
anoadragon453 opened this issue Nov 24, 2021 · 0 comments
Open
Assignees
Labels
A-Application-Service Related to AS support T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks. Z-Time-Tracked Element employees should track their time spent on this issue/PR.

Comments

@anoadragon453
Copy link
Member

Split out of #10653, and deliberately removed from the scope of #11215.

Application services can receive to-device messages intended for the devices of users that reside within their namespace. Note that both local and remote users can be included here.

From conversation in #10653, the plan is to only delete delivered to-device messages if the responsible namespace is marked as exclusive. If so, it is assumed that no other application service nor user device will be also trying to receive these to-device messages. And thus they can be safely deleted.

Ideally we would add this after #11150, as it's a bit terrifying to delete messages without knowing whether they've been successfully delivered or not.

@anoadragon453 anoadragon453 added Z-Time-Tracked Element employees should track their time spent on this issue/PR. T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks. labels Nov 24, 2021
@anoadragon453 anoadragon453 self-assigned this Nov 24, 2021
@MadLittleMods MadLittleMods added the A-Application-Service Related to AS support label Dec 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Application-Service Related to AS support T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks. Z-Time-Tracked Element employees should track their time spent on this issue/PR.
Projects
None yet
Development

No branches or pull requests

2 participants