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

Test how the user directory handles remote users #11105

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

Test how the user directory handles remote users #11105

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

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 19, 2023

This issue has been migrated from #11105.


All of the unit tests check the behaviour of the directory for local users. The implementation of the directory has many code paths that differ for local and remote users. We should have test coverage of these.

Fetching actual profiles over federation to properly fix #5677 will be involved and require mocking if we're going to make it a unit test. But it should be fairly straightforward to add tests that inspect the room-sharing tables for remote users. And thankfully, we don't have the (painful) business of directory exclusion to worry about for remote users.

@matrixbot matrixbot changed the title Dummy issue Test how the user directory handles remote users 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
Labels
Projects
None yet
Development

No branches or pull requests

1 participant