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 that can reject federated invites #1239

Merged
merged 3 commits into from
Apr 7, 2022
Merged

Conversation

erikjohnston
Copy link
Member

@erikjohnston erikjohnston commented Apr 7, 2022

lib/SyTest/Homeserver.pm Outdated Show resolved Hide resolved
matrix_create_filter( $invitee, {
room => {
state => {
lazy_load_members => JSON::true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this really require lazy loading? I'm not really sure I'm following that bit.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

During lazy loading we pull out state a second time to get the membership event of the sender of the outlier event, so we stick lazy loading on to hit more of the /sync code paths

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 👍

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
@clokep
Copy link
Member

clokep commented Apr 7, 2022

(Well approved with the debug change...)

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
@erikjohnston erikjohnston merged commit d9be56c into develop Apr 7, 2022
@erikjohnston erikjohnston deleted the erikj/fix_reject_invite branch April 7, 2022 16:18
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

Successfully merging this pull request may close these issues.

2 participants