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

/query/user_devices is actually /user/devices/@user_id #551

Closed
matrixbot opened this issue Oct 30, 2024 · 0 comments
Closed

/query/user_devices is actually /user/devices/@user_id #551

matrixbot opened this issue Oct 30, 2024 · 0 comments

Comments

@matrixbot
Copy link
Collaborator

This issue was originally created by @turt2live at matrix-org/dendrite#551.

The query API was introduced in matrix-org/dendrite#498, however this appears to be a result of Synapse being a bad representation of itself. It registers a "query handler", but actually uses a different route from all the other queries: https://github.com/matrix-org/synapse/blob/d69decd5c78c72abef50b597a689e2bc55a39702/synapse/federation/transport/server.py#L466

The problem area is: https://github.com/matrix-org/dendrite/blob/d2ae4257524e5a2231fc249f1670cfb87c22cdc0/src/github.com/matrix-org/dendrite/federationapi/routing/routing.go#L151-L159

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant