Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
matrixbot opened this issue Dec 19, 2023 · 0 comments
Open

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

matrixbot opened this issue Dec 19, 2023 · 0 comments

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 19, 2023

This issue has been migrated from #11423.


Split out of matrix-org/synapse#10653, and deliberately removed from the scope of matrix-org/synapse#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 matrix-org/synapse#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 matrix-org/synapse#11150, as it's a bit terrifying to delete messages without knowing whether they've been successfully delivered or not.

@matrixbot matrixbot changed the title Dummy issue to-device messages that have been sent to appservices aren't deleted Dec 21, 2023
@matrixbot matrixbot reopened this Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant