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

Documentation incorrectly states that the room list always returns an empty list if disabled, while federation actually returns a 403 error #13102

Open
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 #13102.


Description

https://github.com/matrix-org/synapse/blob/develop/docs/usage/configuration/config_documentation.md?plain=1#L3337-L3339 states that both internally and externally synapse will return an empty list on ALL queries.

However https://github.com/matrix-org/synapse/blob/c52abc1cfdd9e5480cdb4a03d626fe61cacc6573/synapse/federation/transport/client.py#L491 (and testing it via fed) states that actually M_FORBIDDEN and a 403 error is returned.

Steps to reproduce

  • Access a remote room list via fed where the remote server runs default config.

Homeserver

Not relevant. This is a docs issue.

Synapse Version

1.61.0

Installation Method

Docker (matrixdotorg/synapse)

Platform

Not relevant. This is a docs issue.

Relevant log output

Not relevant. This is a docs issue.

Anything else that would be useful to know?

No response

@matrixbot matrixbot changed the title Dummy issue Documentation incorrectly states that the room list always returns an empty list if disabled, while federation actually returns a 403 error 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